diff --git a/app/Domains/Virtual/Commands/Sync/LogSync.php b/app/Domains/Virtual/Commands/Sync/LogSync.php index 80c4260d..14f240bf 100644 --- a/app/Domains/Virtual/Commands/Sync/LogSync.php +++ b/app/Domains/Virtual/Commands/Sync/LogSync.php @@ -132,12 +132,12 @@ class LogSync extends Command DB::rollback(); throw $e; } + + $nextId = $value['id']; } DB::commit(); - $nextId = $value['id']; - app(ConfigService::class)->set(self::CURSOR_KEY, $nextId); if ($page * $this->limit >= $total) {