koko210Serve
5ac1f7fa8c
cleanup: remove dead code + deduplicate GPU state reads
Dead code removed:
- globals.py: GUILD_SETTINGS (empty dict, zero consumers)
- config.py: unused 'import os'
- config_manager.py: unused 'import os' and 'Union'
- server_manager.py: duplicate 'from datetime import datetime, timedelta'
GPU deduplication:
- get_current_gpu_url() now delegates to config_manager.get_gpu()
- get_gpu_status() endpoint now delegates to config_manager.get_gpu()
- Both previously re-read memory/gpu_state.json directly
2026-04-09 20:34:17 +03:00
..
2026-02-18 12:01:08 +02:00
2026-02-27 13:11:37 +02:00
2026-02-27 13:14:03 +02:00
2026-03-31 15:16:40 +03:00
2026-03-31 15:09:57 +03:00
2025-12-07 17:15:09 +02:00
2026-04-09 20:34:17 +03:00
2026-03-05 21:59:27 +02:00
2025-12-07 17:15:09 +02:00
2026-04-09 20:34:17 +03:00
2026-04-09 20:34:17 +03:00
2026-02-27 13:14:03 +02:00
2026-04-09 20:34:17 +03:00
2025-12-07 17:15:09 +02:00
2025-12-07 17:15:09 +02:00
2026-02-23 14:31:48 +02:00
2026-04-09 20:34:17 +03:00
2026-01-30 21:43:20 +02:00
2025-12-07 17:15:09 +02:00
2025-12-07 17:15:09 +02:00