mirror of
https://github.com/hubHarmony/servii-backend.git
synced 2024-11-17 21:40:31 +00:00
[~] No production printing.
This commit is contained in:
parent
f52696d38a
commit
bcf096cda2
@ -117,11 +117,9 @@ class MinecraftServerManager:
|
||||
if port not in self.offline_ports:
|
||||
self.offline_ports.append(port)
|
||||
else:
|
||||
print(f"Closing {port} server.")
|
||||
user_id = server_info.get("user_id", None)
|
||||
name = server_info.get("name", None)
|
||||
server_stamp = server_info.get("time", None)
|
||||
print(f"{user_id}, {name}, {server_stamp}")
|
||||
firebase_manager.close_idle_server(
|
||||
user_id=user_id,
|
||||
name=name,
|
||||
@ -131,8 +129,6 @@ class MinecraftServerManager:
|
||||
else:
|
||||
if port in self.offline_ports:
|
||||
self.offline_ports.remove(port)
|
||||
|
||||
print(f"Offline_servers : {self.offline_ports}")
|
||||
return
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user