deletes-worker

This commit is contained in:
shimon
2023-01-05 19:35:24 +02:00
parent 150d3572c4
commit 91c818c638
5 changed files with 570 additions and 567 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ class EdgeSync extends Action
]);
}
}
if (!$found) {
if (!$found) {
Console::info("[{$time}] No keys where found for region {$code}.");
}
}
+3 -1
View File
@@ -1,4 +1,5 @@
<?php
namespace Appwrite\Platform\Tasks;
use Appwrite\Event\Certificate;
@@ -130,6 +131,7 @@ class Maintenance extends Action
$auditLogRetention = (int) App::getEnv('_APP_MAINTENANCE_RETENTION_AUDIT', '1209600');
$abuseLogsRetention = (int) App::getEnv('_APP_MAINTENANCE_RETENTION_ABUSE', '86400');
$usageStatsRetentionHourly = (int) App::getEnv('_APP_MAINTENANCE_RETENTION_USAGE_HOURLY', '8640000'); //100 days
$cacheRetention = (int) App::getEnv('_APP_MAINTENANCE_RETENTION_CACHE', '2592000'); // 30 days
$schedulesDeletionRetention = (int) App::getEnv('_APP_MAINTENANCE_RETENTION_SCHEDULES', '86400'); // 1 Day
@@ -148,4 +150,4 @@ class Maintenance extends Action
notifyDeleteSchedules($schedulesDeletionRetention, $queueForDeletes);
}, $interval);
}
}
}