From dd635635993173aa64f9f4f46323da0e09e49e55 Mon Sep 17 00:00:00 2001 From: SajjadMahmoody <117562560+SajjadMahmoody@users.noreply.github.com> Date: Fri, 17 Apr 2026 20:16:50 +0330 Subject: [PATCH] fix : peerCursor for syncServices --- app/Services/SyncService.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Services/SyncService.php b/app/Services/SyncService.php index c64923f..3186144 100644 --- a/app/Services/SyncService.php +++ b/app/Services/SyncService.php @@ -50,6 +50,7 @@ public function sync(): array $report = []; $baseUrl = "http://{$this->peerIp}:{$this->peerPort}"; + $peerCursor = (int) \App\Models\OsurgInitial::val('sync_peer_cursor', 0); $ourLastSync = SyncLog::lastSyncId(); try {