mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-28 06:47:24 +08:00
feat: Add node load submission and display functionality
- Implemented node load status submission in UniProxyController with dynamic cache expiration based on server push interval. - Added log filtering capability in the admin panel for better log management and analysis.
This commit is contained in:
@@ -25,7 +25,8 @@ class ServerService
|
||||
'online',
|
||||
'is_online',
|
||||
'available_status',
|
||||
'cache_key'
|
||||
'cache_key',
|
||||
'load_status'
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@ class UpdateService
|
||||
list($date, $hash) = explode(':', trim($result->output()));
|
||||
Cache::forever(self::CACHE_VERSION_DATE, $date);
|
||||
Cache::forever(self::CACHE_VERSION, substr($hash, 0, 7));
|
||||
Log::info('Version cache updated: ' . $date . '-' . substr($hash, 0, 7));
|
||||
// Log::info('Version cache updated: ' . $date . '-' . substr($hash, 0, 7));
|
||||
return;
|
||||
}
|
||||
} catch (\Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user