This commit is contained in:
邓皓元 2018-12-25 17:42:27 +08:00
parent 200905d0bf
commit ec7c717608

View File

@ -132,12 +132,12 @@ class LogSync extends Command
DB::rollback(); DB::rollback();
throw $e; throw $e;
} }
$nextId = $value['id'];
} }
DB::commit(); DB::commit();
$nextId = $value['id'];
app(ConfigService::class)->set(self::CURSOR_KEY, $nextId); app(ConfigService::class)->set(self::CURSOR_KEY, $nextId);
if ($page * $this->limit >= $total) { if ($page * $this->limit >= $total) {