ESGF / esgf-installer

ESGF P2P Node Installer
https://esgf.llnl.gov/
Other
21 stars 21 forks source link

Add timeout to curl in get_esgf_dist_mirror #716

Open alaniwi opened 5 years ago

alaniwi commented 5 years ago

This:

https://github.com/ESGF/esgf-installer/blob/875df809b3cf18a939387780c58cca39999cb96d/esg-functions#L1339-L1343

causes esg-node to hang if a site does not respond.

A timeout should be specified, with some appropriate behaviour if it times out.