feat: put db and redis workers back in the pool

This commit is contained in:
Christy Jacob
2022-01-28 16:26:58 +04:00
parent a4e3eb07d8
commit 8d59a058a9
-2
View File
@@ -993,7 +993,6 @@ App::delete('/v1/functions/:functionId')
$orchestration->remove('appwrite-function-' . $deployment['$id'], true);
Console::info('Removed container for deployment ' . $deployment['$id']);
} catch (\Throwable $th) {
// Do nothing, we don't care that much if it fails
Console::error($th->getMessage());
} finally {
$orchestrationPool->put($orchestration);
@@ -1084,7 +1083,6 @@ App::delete('/v1/deployments/:deploymentId')
$orchestration->remove('appwrite-function-' . $deployment['$id'], true);
Console::info('Removed container for deployment ' . $deployment['$id']);
} catch (\Throwable $th) {
// Do nothing, we don't care that much if it fails
Console::error($th->getMessage());
} finally {
$orchestrationPool->put($orchestration);