fix : peerCursor for syncServices
This commit is contained in:
parent
bf0ada051f
commit
dd63563599
|
|
@ -50,6 +50,7 @@ public function sync(): array
|
||||||
$report = [];
|
$report = [];
|
||||||
$baseUrl = "http://{$this->peerIp}:{$this->peerPort}";
|
$baseUrl = "http://{$this->peerIp}:{$this->peerPort}";
|
||||||
|
|
||||||
|
$peerCursor = (int) \App\Models\OsurgInitial::val('sync_peer_cursor', 0);
|
||||||
$ourLastSync = SyncLog::lastSyncId();
|
$ourLastSync = SyncLog::lastSyncId();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue