diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-03-19 22:22:34 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-10 23:43:42 +0100 |
| commit | f3c36d5d12e15b749d928580c29e4f6cda23e873 (patch) | |
| tree | d1497f99ad5f0f324a46cab819d66520ec161490 /wscript | |
| parent | 095a6ac95435be2cf8dbbe1e38dfb5d5d93ffcc7 (diff) | |
Try to reduce timeout when downloading supporters lists.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -541,7 +541,7 @@ def configure(conf): def download_supporters(can_fail): last_date = subprocess.Popen(shlex.split('git log -1 --format=%%ai %s' % last_version), stdout=subprocess.PIPE).communicate()[0] - r = os.system('curl -s -f https://dcpomatic.com/supporters.cc?%s > src/wx/supporters.cc' % urlencode({"until": last_date.strip()})) + r = os.system('curl -m 2 -s -f https://dcpomatic.com/supporters.cc?%s > src/wx/supporters.cc' % urlencode({"until": last_date.strip()})) if (r >> 8) == 0: r = os.system('curl -s -f https://dcpomatic.com/subscribers.cc?%s > src/wx/subscribers.cc' % urlencode({"until": last_date.strip()})) if (r >> 8) != 0 and can_fail: |
