mirror of
https://github.com/samanhappy/mcphub.git
synced 2025-12-24 02:39:19 -05:00
Remove excessive logging when keepAlive is disabled
Co-authored-by: samanhappy <2755122+samanhappy@users.noreply.github.com>
This commit is contained in:
@@ -38,7 +38,6 @@ const setupKeepAlive = (serverInfo: ServerInfo, serverConfig: ServerConfig): voi
|
|||||||
|
|
||||||
// Check if keepAlive is explicitly enabled (default is false to avoid excessive API calls)
|
// Check if keepAlive is explicitly enabled (default is false to avoid excessive API calls)
|
||||||
if (serverConfig.keepAlive !== true) {
|
if (serverConfig.keepAlive !== true) {
|
||||||
console.log(`Keep-alive ping disabled for server: ${serverInfo.name} (set keepAlive: true to enable)`);
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user