Closed ezh closed 6 years ago
Can you give me more information on what the goal here is?
If you want it to use poll_for_return, then you should be passing in --fail-if-incomplete
What is happening here looks like it ends up calling the same api call over and over again if it gets that jid return, which is not desirable.
This PR use pepper option -t TIMEOUT, --timeout=TIMEOUT Specify wait time (in seconds) before returning control to the shell
Overall I think this is a good idea, but I would really like to have it be opt-in, instead of the default.
Something they have to say, I want to run async, and automatically query for the results in the job database
Yep. It is up to you. It looks that I just changed behaviour, not fix the issue.
I am going to leave this PR as closed.
But am still interested in trying to fix the issue that you opened.
Related to #141