From 98967cdf8807ad2bd19a669397261c534899954e Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Wed, 15 Oct 2014 16:25:35 +0200 Subject: [PATCH] Be more clear about the effect of the statusInterval number --- config/environments/development.js.example | 2 +- config/environments/production.js.example | 2 +- config/environments/staging.js.example | 2 +- config/environments/test.js.example | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/environments/development.js.example b/config/environments/development.js.example index 1102b6b2..fafb283f 100644 --- a/config/environments/development.js.example +++ b/config/environments/development.js.example @@ -114,7 +114,7 @@ var config = { elapsedThreshold: 25 // the threshold to determine an slow acquire must be reported or not }, emitter: { - statusInterval: 5000 // the time in millisecond between each status report is emitted from the pool + statusInterval: 5000 // time, in ms, between each status report is emitted from the pool, status is sent to statsd } } ,sqlapi: { diff --git a/config/environments/production.js.example b/config/environments/production.js.example index 49ece937..c4fb2707 100644 --- a/config/environments/production.js.example +++ b/config/environments/production.js.example @@ -108,7 +108,7 @@ var config = { elapsedThreshold: 25 // the threshold to determine an slow acquire must be reported or not }, emitter: { - statusInterval: 5000 // the time in millisecond between each status report is emitted from the pool + statusInterval: 5000 // time, in ms, between each status report is emitted from the pool, status is sent to statsd } } ,sqlapi: { diff --git a/config/environments/staging.js.example b/config/environments/staging.js.example index a20cbf98..d0e93555 100644 --- a/config/environments/staging.js.example +++ b/config/environments/staging.js.example @@ -108,7 +108,7 @@ var config = { elapsedThreshold: 25 // the threshold to determine an slow acquire must be reported or not }, emitter: { - statusInterval: 5000 // the time in millisecond between each status report is emitted from the pool + statusInterval: 5000 // time, in ms, between each status report is emitted from the pool, status is sent to statsd } } ,sqlapi: { diff --git a/config/environments/test.js.example b/config/environments/test.js.example index e0c4ae7b..b2ea2736 100644 --- a/config/environments/test.js.example +++ b/config/environments/test.js.example @@ -108,7 +108,7 @@ var config = { elapsedThreshold: 25 // the threshold to determine an slow acquire must be reported or not }, emitter: { - statusInterval: 5000 // the time in millisecond between each status report is emitted from the pool + statusInterval: 5000 // time, in ms, between each status report is emitted from the pool, status is sent to statsd } } ,sqlapi: {