Skip to content
Snippets Groups Projects
Commit a506b12f authored by Jan Soukal's avatar Jan Soukal
Browse files

opraveno generovani konfiguraku (ukoly 925 a 927)

parent b90ae7d4
No related branches found
No related tags found
No related merge requests found
...@@ -217,14 +217,22 @@ make_conf_file() ...@@ -217,14 +217,22 @@ make_conf_file()
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
\$MAX_RCV_EVENTS_LIMIT = 6000; #consumes app. 250 MB of memory \$MAX_RCV_EVENTS_LIMIT = 6000; #consumes app. 250 MB of memory
#-------------------------------------------------------------------------------
# CONNECTION_TIMEOUT - interval in seconds to timeout connection with Warden
# server. If your client timeouts, consider using higher
# timeout number. Also, in case of receiving clients, you
# can optimize the MAX_RCV_EVENTS_LIMIT value.
#-------------------------------------------------------------------------------
$CONNECTION_TIMEOUT = 60;
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Log options # Log options
# #
# LOG_STDERR, LOG_SYSLOG - hide (0) or allow (1) error reporting on STDERR # LOG_STDERR, LOG_SYSLOG - hide (0) or allow (1) error reporting on STDERR
# and/or to Syslog # and/or to Syslog
# LOG_STDERR_VERBOSE, LOG_SYSLOG_VERBOSE - print only error message without # LOG_SYSLOG_FACILITY - specify a Syslog facility to log in
# a stack (0) or print debug info # LOG_VERBOSE - print only error message without a stack (0) or print debug info
# including err. message and stack (1) # including err. message and stack (1)
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
\$LOG_STDERR = 1; \$LOG_STDERR = 1;
......
...@@ -185,6 +185,7 @@ make_conf_file() ...@@ -185,6 +185,7 @@ make_conf_file()
ssl_cert_file=`cat $conf_file | grep '$SSL_CERT_FILE'` ssl_cert_file=`cat $conf_file | grep '$SSL_CERT_FILE'`
ssl_ca_file=`cat $conf_file | grep '$SSL_CA_FILE'` ssl_ca_file=`cat $conf_file | grep '$SSL_CA_FILE'`
max_rcv_events_limit=`cat $conf_file | grep '$MAX_RCV_EVENTS_LIMIT'` max_rcv_events_limit=`cat $conf_file | grep '$MAX_RCV_EVENTS_LIMIT'`
connection_timeout=`cat $conf_file | grep '$CONNECTION_TIMEOUT'`
log_stderr=`cat $conf_file | grep '$LOG_STDERR'` log_stderr=`cat $conf_file | grep '$LOG_STDERR'`
if [ -z $log_stderr ]; then if [ -z $log_stderr ]; then
...@@ -236,14 +237,22 @@ $ssl_ca_file ...@@ -236,14 +237,22 @@ $ssl_ca_file
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
$max_rcv_events_limit $max_rcv_events_limit
#-------------------------------------------------------------------------------
# CONNECTION_TIMEOUT - interval in seconds to timeout connection with Warden
# server. If your client timeouts, consider using higher
# timeout number. Also, in case of receiving clients, you
# can optimize the MAX_RCV_EVENTS_LIMIT value.
#-------------------------------------------------------------------------------
$connection_timeout
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Log options # Log options
# #
# LOG_STDERR, LOG_SYSLOG - hide (0) or allow (1) error reporting on STDERR # LOG_STDERR, LOG_SYSLOG - hide (0) or allow (1) error reporting on STDERR
# and/or to Syslog # and/or to Syslog
# LOG_STDERR_VERBOSE, LOG_SYSLOG_VERBOSE - print only error message without # LOG_SYSLOG_FACILITY - specify a Syslog facility to log in
# a stack (0) or print debug info # LOG_VERBOSE - print only error message without a stack (0) or print debug info
# including err. message and stack (1) # including err. message and stack (1)
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
$log_stderr $log_stderr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment