Skip to content

Commit 62736fc

Browse files
committed
raised app setup timeout from 30 to 60 - #636
1 parent 529bed1 commit 62736fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ def setup_lyrics_api_analyze():
709709
ctx = None
710710
import time as _time
711711
_t0 = _time.monotonic()
712-
with urllib.request.urlopen(req, timeout=30, context=ctx) as resp:
712+
with urllib.request.urlopen(req, timeout=60, context=ctx) as resp:
713713
raw_bytes = resp.read(512 * 1024)
714714
elapsed_ms = (_time.monotonic() - _t0) * 1000
715715
raw_text = raw_bytes.decode('utf-8', errors='replace')

0 commit comments

Comments
 (0)