https://prefect.io logo
#prefect-community
Title
# prefect-community
j

Jai P

11/03/2022, 4:47 PM
👋 are there guidelines around long-running tasks (e.g. max timeout, should they be marked
async
, etc.)?
m

Mason Menges

11/03/2022, 10:20 PM
Hey @Jai P we don't have any specific guidelines necessarily as this largely depends on your use case, the max timeouts for instance is going to depend on how long you're expecting the task to run for, similarly whether or not the task should be async really depends on the types of operations you're doing, if you're performing several I/O operations on the same resource Async would probably be more or a hindrance than a help. TLDR: It really depends on you're use case and what you're trying to accomplish, in most cost I'd try to shoot for what seems reasonable based on what actions performing.
j

Jai P

11/04/2022, 1:23 AM
got it, sounds good. Thanks Mason!
3 Views