Skip to content

Commit 6534389

Browse files
authored
fix(models.py): add retries for transient network errors (#205)
Network errors often crop up in CI. We want some resilience. Eventually it might be nice to make the retry count configurable somehow.
1 parent 610b9ea commit 6534389

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

modflow_devtools/models.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
base_url=BASE_URL,
3636
version=modflow_devtools.__version__,
3737
env="MFMODELS",
38+
retry_if_failed=3,
3839
)
3940

4041

0 commit comments

Comments
 (0)