ENH: Add timeout parameter to run_async method in tap module#730
ENH: Add timeout parameter to run_async method in tap module#730bsipocz merged 2 commits intoastropy:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #730 +/- ##
=======================================
Coverage 84.12% 84.12%
=======================================
Files 79 79
Lines 8616 8617 +1
=======================================
+ Hits 7248 7249 +1
Misses 1368 1368 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
bsipocz
left a comment
There was a problem hiding this comment.
Thank you, it all looks good to me.
I would still like to see one other approval and maybe opinions about the default 600s value, as well as if we consider this API change or bugfix -- whether to release nowish with 1.8.1 or later in May with 1.9
|
The 600s timeout is the same than in |
Yea that seems like a good idea, I've set this as a global variable. Let me know if this looks better or if any other changes are needed to the PR. |
|
Looks good to me. It's not breaking anything, and such a tiny change that I'd release it in 1.8.1 if you're ok with that @bsipocz |
OK, let's do it. I think I could argue (not a strong argument though) that this fixes a bug/problems we had with the IRSA notebooks. |
ENH: Add timeout parameter to run_async method in tap module
Description
This exposes the timeout parameter to the
run_asyncmethod, allowing a user to specify a maximum runtime for an asynchronous query before it times out.This closes issue #720