some progress
This commit is contained in:
@@ -87,8 +87,10 @@ class CheckUptime implements ShouldQueue
|
||||
// Store the uptime check result
|
||||
UptimeCheck::create([
|
||||
'site_id' => $this->site->id,
|
||||
'check_type' => 'http',
|
||||
'status_code' => $statusCode,
|
||||
'response_time_ms' => $responseTime,
|
||||
'is_online' => $statusCode !== null && $statusCode < 400,
|
||||
'checked_at' => now(),
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user