update: fix stat server

This commit is contained in:
tokumeikoi 2022-06-09 15:42:26 +08:00
parent 3840df1203
commit 3fb600a3b0

View File

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