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. |
||
|---|---|---|
| .. | ||
| towerops | ||
| towerops_web | ||
| towerops.ex | ||
| towerops_web.ex | ||