From 0be573c8a728e3c96cfd3538f1569feaad7dee0e Mon Sep 17 00:00:00 2001 From: Hemachandar Date: Tue, 6 Jan 2026 20:53:05 +0530 Subject: [PATCH] Revert "Merge pull request #97 from utopia-php/ser-728" This reverts commit be9999dd4d6461c575935d46b0664dae8fe3d6e2, reversing changes made to e973371f02d6e94feb6ae3575d5066165e16ea17. --- composer.json | 4 ++-- composer.lock | 16 ++++++++-------- src/Audit/Adapter/ClickHouse.php | 2 +- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index aaa457d..4d00dad 100644 --- a/composer.json +++ b/composer.json @@ -29,8 +29,8 @@ "require": { "php": ">=8.0", "utopia-php/database": "4.*", - "utopia-php/fetch": "0.5.*", - "utopia-php/validators": "0.1.*" + "utopia-php/fetch": "^0.4.2", + "utopia-php/validators": "^0.1.0" }, "require-dev": { "phpunit/phpunit": "9.*", diff --git a/composer.lock b/composer.lock index fd2b8ae..33c0384 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": "bfd267357545678327dd729167a5748a", + "content-hash": "7e7770e1778658a1376fdd3c1ffd73c3", "packages": [ { "name": "brick/math", @@ -2182,20 +2182,20 @@ }, { "name": "utopia-php/fetch", - "version": "0.5.1", + "version": "0.4.2", "source": { "type": "git", "url": "https://github.com/utopia-php/fetch.git", - "reference": "a96a010e1c273f3888765449687baf58cbc61fcd" + "reference": "83986d1be75a2fae4e684107fe70dd78a8e19b77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/utopia-php/fetch/zipball/a96a010e1c273f3888765449687baf58cbc61fcd", - "reference": "a96a010e1c273f3888765449687baf58cbc61fcd", + "url": "https://api.github.com/repos/utopia-php/fetch/zipball/83986d1be75a2fae4e684107fe70dd78a8e19b77", + "reference": "83986d1be75a2fae4e684107fe70dd78a8e19b77", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.0" }, "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.5.1" + "source": "https://github.com/utopia-php/fetch/tree/0.4.2" }, - "time": "2025-12-18T16:25:10+00:00" + "time": "2025-04-25T13:48:02+00:00" }, { "name": "utopia-php/framework", diff --git a/src/Audit/Adapter/ClickHouse.php b/src/Audit/Adapter/ClickHouse.php index 87fa2e7..7265adb 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 * 1000); // 30 seconds + $this->client->setTimeout(30); } /**