-
This is probably a user error, but I can't get my script to run with the timeout flag. I set up: And then I get this error: What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
It seems you created a custom template with a So, in order to be able to submit the job we need to fill this field. However, the So to solve this, you can pass it as a template argument: Q(..., template=list(timeout=...))
register_dopar_cmq(..., template=list(timeout=...)) |
Beta Was this translation helpful? Give feedback.
-
That was it, thanks! |
Beta Was this translation helpful? Give feedback.
It seems you created a custom template with a
{{ timeout }}
field that does not have a default value.So, in order to be able to submit the job we need to fill this field. However, the
timeout
parameter toQ
does something different (it is the time when we will assume a worker to be dead if we haven't heard from it) and it is not passed to your template.So to solve this, you can pass it as a template argument: