Summary
Small dead-code cleanups, grouped:
- Unused constant
DEVICE_TIMEOUT_SECONDS = 60 in routes/esp32_routes.py:19 — never referenced anywhere. Offline detection is actually driven by the Redis connection TTL in utils/esp32_connection_manager.py (CONNECTION_TTL = 90).
- Placeholder file
tests/test.py — contains only the one-line comment # Todo : add integreation plus unit tests for the entire code base; not a real test (pytest only collects test_*.py/test_*.py prefixed files, so this is inert).
- Orphan
.pyc files in utils/__pycache__/ — expo_push.cpython-311.pyc, mobile_connection_manager.cpython-311.pyc from the deleted mobile-event channel (source files are gone; these are gitignored build artifacts).
Suggested fix
- Delete
DEVICE_TIMEOUT_SECONDS from esp32_routes.py.
- Delete
tests/test.py.
- Delete the stale
.pyc files (or just clean-pycache).
Summary
Small dead-code cleanups, grouped:
DEVICE_TIMEOUT_SECONDS = 60inroutes/esp32_routes.py:19— never referenced anywhere. Offline detection is actually driven by the Redis connection TTL inutils/esp32_connection_manager.py(CONNECTION_TTL = 90).tests/test.py— contains only the one-line comment# Todo : add integreation plus unit tests for the entire code base; not a real test (pytest only collectstest_*.py/test_*.pyprefixed files, so this is inert)..pycfiles inutils/__pycache__/—expo_push.cpython-311.pyc,mobile_connection_manager.cpython-311.pycfrom the deleted mobile-event channel (source files are gone; these are gitignored build artifacts).Suggested fix
DEVICE_TIMEOUT_SECONDSfromesp32_routes.py.tests/test.py..pycfiles (orjust clean-pycache).