fix : peerCursor for syncServices

This commit is contained in:
SajjadMahmoody 2026-04-17 20:16:50 +03:30
parent bf0ada051f
commit dd63563599
1 changed files with 1 additions and 0 deletions

View File

@ -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 {