Jason Motley
03/07/2022, 4:59 PM: No heartbeat detected from the remote task;
Kevin Kho
Jason Motley
03/08/2022, 3:28 PMIn the event that the flow continues to fail after switching to using threads, some users have had success in making the failing task a subflow, and then turning off heartbeats for the subflow.
Kevin Kho
create_flow_run
taskJason Motley
03/08/2022, 3:30 PMJason Motley
03/08/2022, 3:31 PMenv={"PREFECT__CLOUD__HEARTBEAT_MODE": "thread"}
Kevin Kho
Jason Motley
03/08/2022, 3:34 PMKevin Kho
Jason Motley
03/08/2022, 3:37 PMKevin Kho
Jason Motley
03/08/2022, 3:39 PMKevin Kho
PREFECT___LOGGING____LEVE_L:"DEBUG"
in the run config as part of the env. you can also show me the RunConfig and task definition if you want and I think we can increase the resourcesKevin Kho
Jason Motley
03/08/2022, 3:42 PM@task(name = "Transform", log_stdout=True, max_retries=3, retry_delay=timedelta(seconds=10))
Jason Motley
03/08/2022, 3:42 PMflow.run_config = ECSRun(
labels=["ourlabel"],
image="ourimage",
env={"PREFECT__CLOUD__HEARTBEAT_MODE": "thread"})
Jason Motley
03/08/2022, 3:42 PMKevin Kho
Jason Motley
03/08/2022, 3:44 PMKevin Kho
Kevin Kho
Jason Motley
03/08/2022, 3:51 PMKevin Kho
Jason Motley
03/08/2022, 3:54 PMKevin Kho
Kevin Kho
Jason Motley
03/08/2022, 3:56 PMKevin Kho
Jason Motley
03/08/2022, 3:58 PMKevin Kho