I am running a flow on a local agent in docker on EC2 (not ECS). Prefect Cloud is configured to provide a UI for monitoring. The flow executes every 5mins, and for about an hour or so, it does just fine. However, the flows eventually fall behind, before failing to executer entirely and I get the 'cannot find a heartbeat' error.
Is there a way to run the local agent continuously? Why does it suddenly stop?
I apologise for the simplicity of the question, but I am new to Prefect.
Cheers