Skip to content
Snippets Groups Projects
Commit 2c05b64f authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

upgrade to a branch of statsd that lazily closes ephemeral UDP ports, so that...

upgrade to a branch of statsd that lazily closes ephemeral UDP ports, so that we're not allocating one UDP socket per request when under load.  closes #680
parent 0bde689b
No related branches found
No related tags found
No related merge requests found
......@@ -218,6 +218,11 @@ if (process.env['VAR_PATH']) {
g_config.var_path = process.env['VAR_PATH'];
}
// allow statsd to be enabled from the environment
if (process.env['ENABLE_STATSD']) {
g_config.statsd = { enabled: true };
}
// what host/port shall we bind to?
g_config.bind_to = {
host: process.env['IP_ADDRESS'] || process.env['HOST'] || "127.0.0.1",
......
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