mirror of
https://github.com/fastogt/fastocloud_admin.git
synced 2025-03-09 23:38:52 +00:00
Change url http timeout
This commit is contained in:
parent
1515274879
commit
d845a494cb
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ class ServiceView(FlaskView):
|
||||||
|
|
||||||
tvg_logo = file['tvg-logo']
|
tvg_logo = file['tvg-logo']
|
||||||
if len(tvg_logo) < constants.MAX_URL_LENGTH:
|
if len(tvg_logo) < constants.MAX_URL_LENGTH:
|
||||||
if is_valid_http_url(tvg_logo):
|
if is_valid_http_url(tvg_logo, timeout=0.1):
|
||||||
stream.tvg_logo = tvg_logo
|
stream.tvg_logo = tvg_logo
|
||||||
stream.save()
|
stream.save()
|
||||||
streams.append(stream)
|
streams.append(stream)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue