mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: fix stat server
This commit is contained in:
parent
8702a3489b
commit
49d9c453d8
@ -49,7 +49,7 @@ class StatServerJob implements ShouldQueue
|
||||
}
|
||||
|
||||
$data = StatServer::where('record_at', $recordAt)
|
||||
->where('server_id', $this->server->id)
|
||||
->where('server_id', $this->server['id'])
|
||||
->where('server_type', $this->protocol)
|
||||
->lockForUpdate()
|
||||
->first();
|
||||
@ -64,7 +64,7 @@ class StatServerJob implements ShouldQueue
|
||||
}
|
||||
} else {
|
||||
if (!StatServer::create([
|
||||
'server_id' => $this->server->id,
|
||||
'server_id' => $this->server['id'],
|
||||
'server_type' => $this->protocol,
|
||||
'u' => $this->u,
|
||||
'd' => $this->d,
|
||||
|
Loading…
Reference in New Issue
Block a user