update: new auth

This commit is contained in:
tokumeikoi
2022-07-19 03:11:36 +08:00
parent dc27410c12
commit adf465696a
22 changed files with 132 additions and 167 deletions

View File

@ -48,10 +48,10 @@ class StatServerJob implements ShouldQueue
//
}
$data = StatServer::where('record_at', $recordAt)
$data = StatServer::lockForUpdate()
->where('record_at', $recordAt)
->where('server_id', $this->server->id)
->where('server_type', $this->protocol)
->lockForUpdate()
->first();
if ($data) {
try {