Skip to content

Commit 2881639

Browse files
committed
feat: add async_job option
1 parent 7383528 commit 2881639

File tree

6 files changed

+185
-32
lines changed

6 files changed

+185
-32
lines changed

CHANGES.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ imcce
4444
- Changing RuntimeError to NoResultsWarning when an empty result is
4545
returned. [#3307]
4646

47+
SIMBAD
48+
^^^^^^
49+
50+
- add ``async_job`` option in all query methods. This executes the query in asynchronous
51+
mode. It provides slower to start, but more robust queries for which the timeout can
52+
be increased (with the ``timeout`` property or with the configuration file) [#3305]
53+
4754
utils.tap
4855
^^^^^^^^^
4956

astroquery/simbad/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ class Conf(_config.ConfigNamespace):
2222
'Name of the SIMBAD mirror to use.')
2323

2424
timeout = _config.ConfigItem(
25-
60,
26-
'Time limit for connecting to Simbad server.')
25+
1080,
26+
# this is the default value in SIMBAD's main mirror
27+
# https://simbad.cds.unistra.fr/simbad/sim-tap/capabilities
28+
"Time limit for the execution of asynchronous queries, "
29+
"in seconds.")
2730

2831
row_limit = _config.ConfigItem(
2932
# defaults to the maximum limit

0 commit comments

Comments
 (0)