We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 626d4f4 commit 1fce2cdCopy full SHA for 1fce2cd
modules/custom_overlays.py
@@ -176,7 +176,7 @@ def get_default_custom_overlay(self):
176
network = self.ton.GetNetworkName()
177
default_url = 'https://ton-blockchain.github.io/fallback_custom_overlays.json'
178
url = self.ton.local.db.get('defaultCustomOverlaysUrl', default_url)
179
- resp = requests.get(url)
+ resp = requests.get(url, timeout=3)
180
if resp.status_code != 200:
181
self.ton.local.add_log(f"Failed to get default custom overlays from {url}", "error")
182
return None
0 commit comments