mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
No need to delegate DB errors
This commit is contained in:
+1
-10
@@ -861,7 +861,7 @@ $register->set('pools', function () {
|
||||
|
||||
return $adapter;
|
||||
});
|
||||
var_dump($pool->channel->length());
|
||||
|
||||
$group->add($pool);
|
||||
}
|
||||
|
||||
@@ -877,15 +877,6 @@ var_dump($pool->channel->length());
|
||||
|
||||
return $group;
|
||||
});
|
||||
$register->set('test', function () {
|
||||
var_dump('[[init test!!]]');
|
||||
$test = new Channel(5);
|
||||
$test->push(1);
|
||||
$test->push(1);
|
||||
$test->push(1);
|
||||
$test->push(1);
|
||||
return $test;
|
||||
});
|
||||
$register->set('influxdb', function () {
|
||||
// Register DB connection
|
||||
$host = App::getEnv('_APP_INFLUXDB_HOST', '');
|
||||
|
||||
Reference in New Issue
Block a user