Jason Motley
03/07/2022, 4:59 PM: No heartbeat detected from the remote task;
Kevin Kho
03/07/2022, 5:01 PMJason 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
03/08/2022, 3:30 PMcreate_flow_run
taskJason Motley
03/08/2022, 3:30 PMenv={"PREFECT__CLOUD__HEARTBEAT_MODE": "thread"}
Kevin Kho
03/08/2022, 3:33 PMJason Motley
03/08/2022, 3:34 PMKevin Kho
03/08/2022, 3:35 PMJason Motley
03/08/2022, 3:37 PMKevin Kho
03/08/2022, 3:38 PMJason Motley
03/08/2022, 3:39 PMKevin Kho
03/08/2022, 3:41 PMPREFECT___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 resourcesJason Motley
03/08/2022, 3:42 PM@task(name = "Transform", log_stdout=True, max_retries=3, retry_delay=timedelta(seconds=10))
flow.run_config = ECSRun(
labels=["ourlabel"],
image="ourimage",
env={"PREFECT__CLOUD__HEARTBEAT_MODE": "thread"})
Kevin Kho
03/08/2022, 3:43 PMJason Motley
03/08/2022, 3:44 PMKevin Kho
03/08/2022, 3:49 PMJason Motley
03/08/2022, 3:51 PMKevin Kho
03/08/2022, 3:53 PMJason Motley
03/08/2022, 3:54 PMKevin Kho
03/08/2022, 3:55 PMJason Motley
03/08/2022, 3:56 PMKevin Kho
03/08/2022, 3:56 PMJason Motley
03/08/2022, 3:58 PMKevin Kho
03/08/2022, 3:59 PM