Go to the source code of this file.
Functions |
|
void | poslib_config_init () |
int | conf_get_request_id_expiration () |
int | conf_get_tcp_in_keepalive () |
int | conf_get_tcp_io_timeout () |
int | conf_get_thread_timeout () |
int | conf_get_waitthreadstime () |
Variables |
|
int | max_threads |
Maximum number of threads. |
|
int | conf_request_id_expiration |
int | conf_tcp_in_keepalive |
int | conf_tcp_io_timeout |
int | conf_thread_timeout |
int | conf_waitthreadstime |
This file contains some configurable settings for the Poslib server part. You should set these _before_ the server is running, as (as of Poslib 1.0.2), this data is not protected by a mutex.
Definition in file configuration.h.
|
Sets the configuration settings to their defaults. |
|
The number of milliseconds before a request ID is re-used. Defaults to 60000. Definition at line 48 of file configuration.h. |
|
The number of milliseconds an incoming TCP connection is kept alive. Defaults to 30000. Definition at line 52 of file configuration.h. |
|
The number of milliseconds we're willing to wait while reading from TCP. Defaults to 10000. Definition at line 56 of file configuration.h. |
|
The number of milliseconds before an inactive thread is closed. Defaults to 10000. Definition at line 60 of file configuration.h. |
|
The number of milliseconds before threads that are not responding are closed down. Defaults to 10000. Definition at line 64 of file configuration.h. |
|
Maximum number of threads. The maximum number of concurrent connection threads the server is willing to handle. After this limit is reached, new TCP connections will be closed directly, and UDP clients will merely receive a SRVFAIL answer. Defaults to 50. Definition at line 45 of file configuration.h. |