Don't log server updates, way to verbose

This commit is contained in:
2022-03-23 21:34:24 -05:00
parent b5fc3e9239
commit 4e0b013a93

View File

@@ -106,7 +106,6 @@ class W3DHub
logger.debug(LOG_TAG) { "Waiting for data..." }
while (message = connection.read)
logger.debug(LOG_TAG) { "Sending \"PING\"(?)" } if message.first[:type] == 6
connection.write({ type: 6 }) if message.first[:type] == 6
if message&.first&.fetch(:type) == 1
@@ -117,7 +116,6 @@ class W3DHub
server = Store.server_list.find { |s| s.id == id }
server_updated = server&.update(data)
States::Interface.instance&.update_server_browser(server) if server_updated
logger.debug(LOG_TAG) { "Updated #{server.status.name}" } if server_updated
end
end
end