Module libutils::tunable [] [src]

Constants tunable at compile time.

Constants

DSRC_CHANNEL_SIZE

Size of the updates channel from a data source

LISTEN_ERR_MILLIS

How long to delay accepting new connections on error.

MAX_CLIENTS

How many clients we are willing to handle at once.

MAX_REQUESTS

Maximum number of parallel requests from one client.

SLICE_INACTIVE_LIMIT

A limit in time slices after which we decide the connection is dead.

SLICE_KEEP_ENDED

Keep a terminated flow for 5 seconds before actually getting rid of it.

SLICE_LENGTH_SECONDS

One in-memory slice is 5 seconds long.

SLICE_MAX_CACHE

Keep one hour of history in RAM.