Join Slack
Powered by
What's the default value of "heartbeat_mode" ? pro...
# ask-community
m
Matt Delacour
08/10/2022, 1:13 PM
What's the default value of "heartbeat_mode" ? process / thread or off?
https://docs-v1.prefect.io/orchestration/concepts/services.html#heartbeat-configuration
a
Anna Geller
08/10/2022, 1:18 PM
not 100% sure, but I think default is process, but you can change to thread easily
https://docs-v1.prefect.io/orchestration/faq/faq.html#why-does-prefect-mark-flow-runs-with-no-heart[…]from-the-remote-task-marking-the-run-as-failed
m
Matt Delacour
08/10/2022, 1:21 PM
Sure. I just wanted to know what the default behavior is 🙂
t
Taylor Curran
08/10/2022, 1:23 PM
Not sure if checking out the source-code might give you the answer?
https://github.com/PrefectHQ/server/blob/0b64bfd8e6dfc53cddc057575322b3520f1884ea/src/prefect_server/services/towel/zombie_killer.py#L16
Taylor Curran
08/10/2022, 1:24 PM
Also Hi Matt 🙂
👋 1
Taylor Curran
08/10/2022, 1:24 PM
Looks like 120 seconds
m
Matt Delacour
08/10/2022, 1:58 PM
Cool, thanks Taylor 🙌
33
Views
Open in Slack
Previous
Next