From 71801c9f0ece50c41bd6ad84e164dd6fc404086e Mon Sep 17 00:00:00 2001 From: shimon Date: Tue, 4 Jun 2024 17:22:24 +0300 Subject: [PATCH] updates to multi region sync --- src/Appwrite/Platform/Tasks/EdgeSync.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Appwrite/Platform/Tasks/EdgeSync.php b/src/Appwrite/Platform/Tasks/EdgeSync.php index b052251f68..fc2f427804 100644 --- a/src/Appwrite/Platform/Tasks/EdgeSync.php +++ b/src/Appwrite/Platform/Tasks/EdgeSync.php @@ -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')}");