Skip to content

Commit d305f88

Browse files
updated pools
1 parent 6abb268 commit d305f88

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"utopia-php/console": "0.0.*",
3030
"utopia-php/framework": "0.33.*",
3131
"utopia-php/telemetry": "*",
32-
"utopia-php/pools": "0.8.*",
32+
"utopia-php/pools": "1.*",
3333
"utopia-php/fetch": "0.5.*"
3434
},
3535
"require-dev": {

composer.lock

Lines changed: 11 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/Queue/E2E/Adapter/PoolTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Tests\E2E\Adapter;
44

55
use Utopia\Pools\Pool as UtopiaPool;
6+
use Utopia\Pools\Adapter\Stack as Stack;
67
use Utopia\Queue\Broker\Pool;
78
use Utopia\Queue\Broker\Redis as RedisBroker;
89
use Utopia\Queue\Connection\Redis;
@@ -13,7 +14,7 @@ class PoolTest extends Base
1314
{
1415
protected function getPublisher(): Publisher
1516
{
16-
$pool = new UtopiaPool('redis', 1, function () {
17+
$pool = new UtopiaPool(new Stack(), 'redis', 1, function () {
1718
return new RedisBroker(new Redis('redis', 6379));
1819
});
1920

0 commit comments

Comments
 (0)