Skip to content

Commit 44cc37c

Browse files
Increase timeout for downloading futurerate data
1 parent fdcad07 commit 44cc37c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/predbat/futurerate.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ def download_futurerate_data(self, url):
412412

413413
def download_futurerate_data_func(self, url):
414414
try:
415-
r = requests.get(url, timeout=30)
415+
r = requests.get(url, timeout=120)
416416
except Exception as e:
417417
self.log("Warn: Error downloading futurerate data from URL {}, request exception {}".format(url, e))
418418
self.record_status("Warn: Error downloading futurerate data from cloud", debug=url, had_errors=True)

0 commit comments

Comments
 (0)