:wave: are there guidelines around long-running ta...
# prefect-community
j
👋 are there guidelines around long-running tasks (e.g. max timeout, should they be marked
async
, etc.)?
m
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
got it, sounds good. Thanks Mason!