1
0
Fork 0
mirror of synced 2024-07-03 05:31:38 +12:00

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

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);