mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
chore: update maintenance task to only iterate over active projects
This commit is contained in:
@@ -71,7 +71,6 @@ class Maintenance extends Action
|
||||
$dbForPlatform->foreach(
|
||||
'projects',
|
||||
function (Document $project) use ($queueForDeletes, $usageStatsRetentionHourly) {
|
||||
Console::info('Project accessed at ' . $project->getId());
|
||||
$queueForDeletes
|
||||
->setType(DELETE_TYPE_MAINTENANCE)
|
||||
->setProject($project)
|
||||
|
||||
Reference in New Issue
Block a user