updates to multi region sync

This commit is contained in:
shimon
2024-06-04 17:22:24 +03:00
parent c78e158dbc
commit 71801c9f0e
+1
View File
@@ -57,6 +57,7 @@ class EdgeSync extends Action
if ($sync->getAttribute('status') === 200) {
$dbForConsole->deleteDocument('syncs', $sync->getId());
unlink(APP_STORAGE_SYNCS . '/' . $sync->getAttribute('filename') . '.log');
Console::log("[{$time}] Deleting {$sync->getId()}");
} else {
Console::log("[{$time}] Enqueueing {$sync->getId()} to {$sync->getAttribute('destRegion')}");