towerops/lib/towerops_web/controllers
Graham McIntire 0ed82c47b9
Make agent heartbeat endpoint asynchronous for faster response
Changed heartbeat database update from synchronous to async using Task.start.
This reduces response time from ~20ms to <1ms by not waiting for the
database write to complete before sending the response.

The heartbeat is a fire-and-forget operation where the agent doesn't
need confirmation that the update succeeded.

In test environment, it remains synchronous to avoid DB ownership issues.
2026-01-14 17:01:57 -06:00
..
api Make agent heartbeat endpoint asynchronous for faster response 2026-01-14 17:01:57 -06:00
error_html add error pages 2026-01-06 14:37:48 -06:00
page_html separate out marketing layouts 2026-01-06 14:46:39 -06:00
user_registration_html Improve UI styling and remove DaisyUI dependencies 2026-01-03 11:02:38 -06:00
user_session_html add passkey 2026-01-09 12:26:32 -06:00
user_settings_html add passkey 2026-01-09 12:26:32 -06:00
admin_controller.ex Add superuser system with user impersonation for admin support 2026-01-06 12:50:10 -06:00
error_html.ex add error pages 2026-01-06 14:37:48 -06:00
error_json.ex init 2025-12-21 11:10:43 -06:00
health_controller.ex update liveview 2026-01-14 13:54:48 -06:00
page_controller.ex add marketing site 2026-01-06 14:34:48 -06:00
page_html.ex init 2025-12-21 11:10:43 -06:00
user_credential_controller.ex add passkey 2026-01-09 12:26:32 -06:00
user_registration_controller.ex 1. User Authentication 2025-12-21 13:31:59 -06:00
user_registration_html.ex 1. User Authentication 2025-12-21 13:31:59 -06:00
user_session_controller.ex Streamline login flow and fix test failures 2026-01-13 13:08:24 -06:00
user_session_html.ex 1. User Authentication 2025-12-21 13:31:59 -06:00
user_settings_controller.ex add passkey 2026-01-09 12:26:32 -06:00
user_settings_html.ex 1. User Authentication 2025-12-21 13:31:59 -06:00