We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e26c370 + e84a38a commit e6c23e0Copy full SHA for e6c23e0
1 file changed
astroclip/data/dataset.py
@@ -13,6 +13,7 @@
13
# limitations under the License.
14
"""Joint dataset of DESI Legacy Survey and DESI Early Data Release."""
15
16
+from aiohttp import ClientTimeout
17
import datasets
18
import h5py
19
import numpy as np
@@ -75,6 +76,7 @@ def _info(self):
75
76
77
def _split_generators(self, dl_manager):
78
urls = _URLS[self.config.name]
79
+ dl_manager.download_config.storage_options["timeout"] = ClientTimeout(total=5000, connect=1000)
80
data_dir = dl_manager.download_and_extract(urls)
81
return [
82
datasets.SplitGenerator(
0 commit comments