mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update: fix stat server
This commit is contained in:
parent
3840df1203
commit
3fb600a3b0
@ -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)
|
||||||
|
->where('server_type', $this->protocol)
|
||||||
->lockForUpdate()
|
->lockForUpdate()
|
||||||
->first();
|
->first();
|
||||||
if ($data) {
|
if ($data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user