mirror of
https://github.com/v2board/v2board.git
synced 2025-06-16 06:37:53 +08:00
update: fix stat server
This commit is contained in:
@ -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) {
|
||||||
|
Reference in New Issue
Block a user