From 415b9450bd1cce1655b7ab47599b4e58733820bd Mon Sep 17 00:00:00 2001 From: Hemachandar Date: Tue, 6 Jan 2026 18:19:24 +0530 Subject: [PATCH 1/2] Bump utopia-php/fetch version --- composer.json | 2 +- composer.lock | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/composer.json b/composer.json index 4d00dad..6cd9272 100644 --- a/composer.json +++ b/composer.json @@ -29,7 +29,7 @@ "require": { "php": ">=8.0", "utopia-php/database": "4.*", - "utopia-php/fetch": "^0.4.2", + "utopia-php/fetch": "0.5.*", "utopia-php/validators": "^0.1.0" }, "require-dev": { diff --git a/composer.lock b/composer.lock index 33c0384..826577c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7e7770e1778658a1376fdd3c1ffd73c3", + "content-hash": "631146ba931b8fd5162e6fed5ace1af4", "packages": [ { "name": "brick/math", @@ -2182,20 +2182,20 @@ }, { "name": "utopia-php/fetch", - "version": "0.4.2", + "version": "0.5.1", "source": { "type": "git", "url": "https://github.com/utopia-php/fetch.git", - "reference": "83986d1be75a2fae4e684107fe70dd78a8e19b77" + "reference": "a96a010e1c273f3888765449687baf58cbc61fcd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/fetch/zipball/83986d1be75a2fae4e684107fe70dd78a8e19b77", - "reference": "83986d1be75a2fae4e684107fe70dd78a8e19b77", + "url": "https://api.github.com/repos/utopia-php/fetch/zipball/a96a010e1c273f3888765449687baf58cbc61fcd", + "reference": "a96a010e1c273f3888765449687baf58cbc61fcd", "shasum": "" }, "require": { - "php": ">=8.0" + "php": ">=8.1" }, "require-dev": { "laravel/pint": "^1.5.0", @@ -2215,9 +2215,9 @@ "description": "A simple library that provides an interface for making HTTP Requests.", "support": { "issues": "https://github.com/utopia-php/fetch/issues", - "source": "https://github.com/utopia-php/fetch/tree/0.4.2" + "source": "https://github.com/utopia-php/fetch/tree/0.5.1" }, - "time": "2025-04-25T13:48:02+00:00" + "time": "2025-12-18T16:25:10+00:00" }, { "name": "utopia-php/framework", From 35112fed22f25320d75ad0ed2223daa2f298984b Mon Sep 17 00:00:00 2001 From: Hemachandar Date: Tue, 6 Jan 2026 20:31:05 +0530 Subject: [PATCH 2/2] timeout in ms --- composer.json | 2 +- composer.lock | 2 +- src/Audit/Adapter/ClickHouse.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 6cd9272..aaa457d 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "php": ">=8.0", "utopia-php/database": "4.*", "utopia-php/fetch": "0.5.*", - "utopia-php/validators": "^0.1.0" + "utopia-php/validators": "0.1.*" }, "require-dev": { "phpunit/phpunit": "9.*", diff --git a/composer.lock b/composer.lock index 826577c..fd2b8ae 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "631146ba931b8fd5162e6fed5ace1af4", + "content-hash": "bfd267357545678327dd729167a5748a", "packages": [ { "name": "brick/math", diff --git a/src/Audit/Adapter/ClickHouse.php b/src/Audit/Adapter/ClickHouse.php index 7265adb..87fa2e7 100644 --- a/src/Audit/Adapter/ClickHouse.php +++ b/src/Audit/Adapter/ClickHouse.php @@ -72,7 +72,7 @@ public function __construct( $this->client = new Client(); $this->client->addHeader('X-ClickHouse-User', $this->username); $this->client->addHeader('X-ClickHouse-Key', $this->password); - $this->client->setTimeout(30); + $this->client->setTimeout(30 * 1000); // 30 seconds } /**