Merge pull request #1060 from Random-Liu/support-stream-idle-timeout

Support stream idle timeout.
This commit is contained in:
Lantao Liu
2019-02-28 10:28:27 -08:00
committed by GitHub
5 changed files with 29 additions and 2 deletions

View File

@@ -17,6 +17,12 @@ The explanation and default value of each configuration item are as follows:
# stream_server_port is the port streaming server is listening on.
stream_server_port = "0"
# stream_idle_timeout is the maximum time a streaming connection can be
# idle before the connection is automatically closed.
# The string is in the golang duration format, see:
# https://golang.org/pkg/time/#ParseDuration
stream_idle_timeout = "4h"
# enable_selinux indicates to enable the selinux support.
enable_selinux = false