mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge pull request #1288 from appwrite/fix-functions-conflicts
Updated sort method before containers cleanup
This commit is contained in:
@@ -535,7 +535,7 @@ class FunctionsV1
|
||||
if(\count($list) > $max) {
|
||||
Console::info('Starting containers cleanup');
|
||||
|
||||
\usort($list, function ($item1, $item2) {
|
||||
\uasort($list, function ($item1, $item2) {
|
||||
return (int)($item1['appwrite-created'] ?? 0) <=> (int)($item2['appwrite-created'] ?? 0);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user