what is the unit of the timeout when specifying it...
# ask-the-community
c
what is the unit of the timeout when specifying it as task meta data. for example
Copy code
@task(timeout=60)
def foo:
    return "foo"
safe to assume
60
is seconds?milliseconds? cc @Louis DiNatale
d
Hey @Chirag Gosalia, it looks like the timeout can be given as either a
datetime.timedelta
or an
int
. If it's an
int
then it is parsed into a
timedelta
as seconds as you suggested.
103 Views