mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 00:18:25 +00:00
Fix maintenance
This commit is contained in:
parent
9a8ba13dbf
commit
2a2bf7f154
1 changed files with 1 additions and 3 deletions
|
|
@ -49,9 +49,6 @@ class Maintenance extends Action
|
|||
|
||||
$dbForPlatform->foreach(
|
||||
'projects',
|
||||
[
|
||||
Query::equal('region', [System::getEnv('_APP_REGION', 'default')])
|
||||
],
|
||||
function (Document $project) use ($queueForDeletes, $usageStatsRetentionHourly) {
|
||||
$queueForDeletes
|
||||
->setType(DELETE_TYPE_MAINTENANCE)
|
||||
|
|
@ -60,6 +57,7 @@ class Maintenance extends Action
|
|||
->trigger();
|
||||
},
|
||||
[
|
||||
Query::equal('region', [System::getEnv('_APP_REGION', 'default')]),
|
||||
Query::limit(100),
|
||||
]
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue