Skip to content

Commit 217045a

Browse files
committed
feat: add async_job option
1 parent 6df9c5d commit 217045a

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
@@ -35,6 +35,13 @@ heasarc
3535
- Heasarc.locate_data returns empty rows with an error in the error_message column if there are
3636
no data associated with that row rather than filtering it out. [#3275]
3737

38+
SIMBAD
39+
^^^^^^
40+
41+
- add ``async_job`` option in all query methods. This executes the query in asynchronous
42+
mode. It provides slower to start, but more robust queries for which the timeout can
43+
be increased (with the ``timeout`` property or with the configuration file) [#3303]
44+
3845
utils.tap
3946
^^^^^^^^^
4047

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)