From 3286279d3cabe3b9fc080fa200e411b35d0aa44e Mon Sep 17 00:00:00 2001 From: shimon Date: Wed, 14 Jun 2023 19:01:34 +0300 Subject: [PATCH] delete unnecessary project collections task --- src/Appwrite/Platform/Tasks/DeleteProjectCollections.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Appwrite/Platform/Tasks/DeleteProjectCollections.php b/src/Appwrite/Platform/Tasks/DeleteProjectCollections.php index 81056e296..a430478c2 100644 --- a/src/Appwrite/Platform/Tasks/DeleteProjectCollections.php +++ b/src/Appwrite/Platform/Tasks/DeleteProjectCollections.php @@ -60,8 +60,8 @@ class DeleteProjectCollections extends Action $projects = [$console]; $count = 0; - $limit = 30; - $sum = 30; + $limit = 50; + $sum = 50; $offset = 0; while (!empty($projects)) { foreach ($projects as $project) { @@ -73,7 +73,7 @@ class DeleteProjectCollections extends Action continue; } - Console::info("Getting stats for {$project->getId()}"); + Console::info("Deleting collections for {$project->getId()}"); try { $db = $project->getAttribute('database');