fix: all of the workers

This commit is contained in:
Torsten Dittmann committed 2022-06-20 11:22:53 +02:00
1 parent 52a857274d
commit 3aa49f773a
11 files changed
+78 -80

No files matched your search

-4
View File
@@ -20,8 +20,6 @@ class DatabaseV1 extends Worker
public function run(): void
{
Authorization::disable();
$type = $this->args['type'];
$project = new Document($this->args['project']);
$collection = new Document($this->args['collection'] ?? []);
@@ -53,8 +51,6 @@ class DatabaseV1 extends Worker
Console::error('No database operation for type: ' . $type);
break;
}
Authorization::reset();
}
public function shutdown(): void