Raise timeout for pypo->liquidsoap communication to improve reliability under load
This commit is contained in:
parent
477ff248f6
commit
02101db088
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ def __timeout(func, timeout_duration, default, args, kwargs):
|
|||
|
||||
first_attempt = False
|
||||
|
||||
def ls_timeout(f, timeout=4, default=None):
|
||||
def ls_timeout(f, timeout=15, default=None):
|
||||
def new_f(*args, **kwargs):
|
||||
return __timeout(f, timeout, default, args, kwargs)
|
||||
return new_f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue