mirror of
https://github.com/v2board/v2board.git
synced 2025-02-10 23:49:12 +08:00
update: stat server job
This commit is contained in:
parent
5c5500bb2d
commit
85e6dd7210
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user