update: stat server job

This commit is contained in:
tokumeikoi 2022-03-06 13:37:21 +08:00
parent 5c5500bb2d
commit 85e6dd7210

View File

@ -50,6 +50,7 @@ class StatServerJob implements ShouldQueue
$data = StatServer::where('record_at', $recordAt) $data = StatServer::where('record_at', $recordAt)
->where('server_id', $this->server->id) ->where('server_id', $this->server->id)
->lockForUpdate()
->first(); ->first();
if ($data) { if ($data) {
try { try {