Skip to content

Commit b1f624b

Browse files
committed
feat: add hamster script
1 parent fd389bc commit b1f624b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Appwrite/Platform/Tasks/Hamster.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,10 @@ public function action(Registry $register, Group $pools, Cache $cache, Database
193193
} catch (\Throwable $th) {
194194
throw $th;
195195
Console::error('Failed to update project ("' . $project->getId() . '") version with error: ' . $th->getMessage());
196+
} finally {
197+
$pools
198+
->get($db)
199+
->reclaim();
196200
}
197201
}
198202

0 commit comments

Comments
 (0)