Skip to content
Snippets Groups Projects
Commit eb828848 authored by David Trattnig's avatar David Trattnig
Browse files

fix: increase server timeout to avoid broken pipes

parent f69dd718
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ audio_playlist_folder="/var/audio/playlist"
# telnet_server_enable="true"
# telnet_server_host="0.0.0.0"
# telnet_server_port="1234"
# telnet_server_timeout="60"
# telnet_server_timeout="16380"
[fallback]
......
......@@ -26,7 +26,7 @@ api_url_playlog="http://127.0.0.1:8008/api/v1/playlog"
# telnet_server_enable="true"
# telnet_server_host="127.0.0.1"
# telnet_server_port="1234"
# telnet_server_timeout="60"
# telnet_server_timeout="16380"
[fallback]
......
......@@ -25,7 +25,7 @@ AURA_ENGINE_API_URL_PLAYLOG=http://172.17.0.1:8008/api/v1/playlog
AURA_ENGINE_TELNET_ENABLE=true
AURA_ENGINE_TELNET_HOST=0.0.0.0
AURA_ENGINE_TELNET_PORT=1234
AURA_ENGINE_TELNET_SERVER_TIMEOUT=60.
AURA_ENGINE_TELNET_SERVER_TIMEOUT=16380.
# Stream Input Settings
AURA_ENGINE_STREAM_INPUT_MAX_BUFFER=5.0
......
......@@ -55,7 +55,7 @@ end
telnet_server_enable = get_setting("true", "telnet_server_enable", "AURA_ENGINE_TELNET_ENABLE")
telnet_server_host = get_setting("127.0.0.1", "telnet_server_host", "AURA_ENGINE_TELNET_HOST")
telnet_server_port = int_of_string(get_setting("1234", "telnet_server_port", "AURA_ENGINE_TELNET_PORT"))
telnet_server_timeout = float_of_string(get_setting("60.", "telnet_server_timeout", "AURA_ENGINE_TELNET_SERVER_TIMEOUT"))
telnet_server_timeout = float_of_string(get_setting("16380.", "telnet_server_timeout", "AURA_ENGINE_TELNET_SERVER_TIMEOUT"))
if telnet_server_enable != "true" then
print("\tLiquidsoap Telnet Server: disabled")
settings.server.telnet.set(false)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment