delete unnecessary project collections task
This commit is contained in:
parent
f2705c30a3
commit
3286279d3c
1 changed files with 3 additions and 3 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue