Compare commits

..

No commits in common. "075d44b7a24973c0fa8d84ec9d0304b197d6cdcf" and "9721325bbb5141888b0b95018dedbb01d374846d" have entirely different histories.

2 changed files with 0 additions and 6 deletions

View File

@ -31,8 +31,6 @@ class CheckRoomOnlineStatus extends Command
if (!$latestStatus || $latestStatus->created_at < $threshold) {
$room->is_online = false;
$room->log_source='system';
$room->log_message='checkRoomOnline';
$room->save();
$this->info("Room [{$room->name}] marked as offline (no recent MachineStatus)");
}

View File

@ -163,8 +163,6 @@ class RoomControlController extends Controller
$room->internal_ip = $validated['ip'];
$room->port = 1000;
$room->is_online=1;
$room->log_source='api';
$room->log_message='session';
$room->touch(); // 更新 updated_at
$room->save();
$room->load('latestSession');
@ -265,8 +263,6 @@ class RoomControlController extends Controller
$room->internal_ip = $validated['ip'];
$room->port = 1000;
$room->is_online=1;
$room->log_source='api';
$room->log_message='HeartBeat';
$room->touch(); // 更新 updated_at
$room->save();
$response = (