Skip to content

Commit 5c65cea

Browse files
authored
Try serializing requests to NOMDAS (#450)
1 parent ebb3a2a commit 5c65cea

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/reformatters/noaa/gfs/region_job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
type DownloadSource = Literal["s3", "nomads"]
4343

4444
# Limit concurrent NOMADS requests to avoid overloading their servers
45-
_nomads_semaphore = threading.Semaphore(4)
45+
_nomads_semaphore = threading.Semaphore(1)
4646

4747

4848
class NoaaGfsSourceFileCoord(SourceFileCoord):

src/reformatters/noaa/hrrr/region_job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
type DownloadSource = Literal["s3", "nomads"]
4444

4545
# Limit concurrent NOMADS requests to avoid overloading their servers
46-
_nomads_semaphore = threading.Semaphore(4)
46+
_nomads_semaphore = threading.Semaphore(1)
4747

4848

4949
class NoaaHrrrSourceFileCoord(SourceFileCoord):

0 commit comments

Comments
 (0)