File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 11id : goes_glm
2- image : ${{ args.registry }}/pctasks-goes-glm:2023.4.17 .0
2+ image : ${{ args.registry }}/pctasks-goes-glm:2023.4.24 .0
33
44args :
55- registry
Original file line number Diff line number Diff line change 1+ import socket
12from pathlib import Path
23from tempfile import TemporaryDirectory
34from typing import List , Union
@@ -24,6 +25,11 @@ class GoesGlmCollection(Collection):
2425 def create_item (
2526 cls , asset_uri : str , storage_factory : StorageFactory
2627 ) -> Union [List [pystac .Item ], WaitTaskResult ]:
28+ # Last-ditch attempt to enforce timeouts in the socket / ssl code
29+ timeout = socket .getdefaulttimeout ()
30+ if timeout is None :
31+ socket .setdefaulttimeout (60 )
32+
2733 nc_storage , nc_asset_path = storage_factory .get_storage_for_file (asset_uri )
2834
2935 if isinstance (nc_storage , pctasks .core .storage .blob .BlobStorage ):
Original file line number Diff line number Diff line change 1414 id : create-splits
1515 tasks :
1616 - id : create-splits
17- image : ${{ args.registry }}/pctasks-goes-glm:2023.4.17 .0
17+ image : ${{ args.registry }}/pctasks-goes-glm:2023.4.24 .0
1818 code :
1919 src : datasets/goes/goes-glm/goes_glm.py
2020 task : goes_glm:GoesGlmCollection.create_splits_task
5353 id : create-chunks
5454 tasks :
5555 - id : create-chunks
56- image : ${{ args.registry }}/pctasks-goes-glm:2023.4.17 .0
56+ image : ${{ args.registry }}/pctasks-goes-glm:2023.4.24 .0
5757 code :
5858 src : datasets/goes/goes-glm/goes_glm.py
5959 task : pctasks.dataset.chunks.task:create_chunks_task
7474 id : process-chunk
7575 tasks :
7676 - id : create-items
77- image : ${{ args.registry }}/pctasks-goes-glm:2023.4.17 .0
77+ image : ${{ args.registry }}/pctasks-goes-glm:2023.4.24 .0
7878 code :
7979 src : datasets/goes/goes-glm/goes_glm.py
8080 task : goes_glm:GoesGlmCollection.create_items_task
You can’t perform that action at this time.
0 commit comments