Move code comment todos to forgejo issues

This commit is contained in:
Ian Renton
2025-09-28 19:38:36 +01:00
parent e71ec1b72a
commit 4681b2b74c
5 changed files with 0 additions and 28 deletions

12
main.py
View File

@@ -34,8 +34,6 @@ def shutdown(sig, frame):
cleanup_timer.stop()
# Utility method to get a data provider based on its config entry.
# TODO we could probably find a way to do this more neatly by iterating through classes in "providers" and getting their
# names, if Python allows that sort of thing
def get_provider_from_config(config_providers_entry):
match config_providers_entry["type"]:
case "POTA":
@@ -99,13 +97,3 @@ if __name__ == '__main__':
for p in providers: status_data[p.name()] = {"status": p.status, "last_updated": p.last_update_time, "last_spot": p.last_spot_time}
status_data["Cleanup Timer"] = {"status": cleanup_timer.status, "last_ran": cleanup_timer.last_cleanup_time}
status_data["Web Server"] = {"status": web_server.status, "last_api_access": web_server.last_api_access_time, "last_page_access": web_server.last_page_access_time}
# TODO NOTES FOR NGINX REVERSE PROXY
# local cache time of 15 sec to avoid over burdening python?
# TODO NOTES FOR FIELD SPOTTER
# Still need to de-dupe spots
# Still need to do QSY checking in FS because we can enable/disable showing them and don't want to re-query the API.
# Filter comments, still do in FS or move that here?