From 883f87c7c8c9932604c80fdd862c7ca18d06169d Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Mon, 24 Apr 2017 18:28:51 +0200 Subject: [PATCH] Document gc_interval configuration entry --- config/environments/development.js.example | 3 +++ config/environments/production.js.example | 3 +++ config/environments/staging.js.example | 3 +++ config/environments/test.js.example | 3 +++ 4 files changed, 12 insertions(+) diff --git a/config/environments/development.js.example b/config/environments/development.js.example index 6800d4c6..9bc4157b 100644 --- a/config/environments/development.js.example +++ b/config/environments/development.js.example @@ -6,6 +6,9 @@ var config = { // Its default size is 4, but it can be changed at startup time (the absolute maximum is 128). // See http://docs.libuv.org/en/latest/threadpool.html ,uv_threadpool_size: undefined + // Time in milliseconds to force GC cycle. + // Disable by using <=0 value. + ,gc_interval: 10000 // Regular expression pattern to extract username // from hostname. Must have a single grabbing block. ,user_from_host: '^(.*)\\.localhost' diff --git a/config/environments/production.js.example b/config/environments/production.js.example index 41e2353d..b305deef 100644 --- a/config/environments/production.js.example +++ b/config/environments/production.js.example @@ -6,6 +6,9 @@ var config = { // Its default size is 4, but it can be changed at startup time (the absolute maximum is 128). // See http://docs.libuv.org/en/latest/threadpool.html ,uv_threadpool_size: undefined + // Time in milliseconds to force GC cycle. + // Disable by using <=0 value. + ,gc_interval: 10000 // Regular expression pattern to extract username // from hostname. Must have a single grabbing block. ,user_from_host: '^(.*)\\.cartodb\\.com$' diff --git a/config/environments/staging.js.example b/config/environments/staging.js.example index 170e5e5f..fa3c7cb6 100644 --- a/config/environments/staging.js.example +++ b/config/environments/staging.js.example @@ -6,6 +6,9 @@ var config = { // Its default size is 4, but it can be changed at startup time (the absolute maximum is 128). // See http://docs.libuv.org/en/latest/threadpool.html ,uv_threadpool_size: undefined + // Time in milliseconds to force GC cycle. + // Disable by using <=0 value. + ,gc_interval: 10000 // Regular expression pattern to extract username // from hostname. Must have a single grabbing block. ,user_from_host: '^(.*)\\.cartodb\\.com$' diff --git a/config/environments/test.js.example b/config/environments/test.js.example index 3c940ac6..465b1774 100644 --- a/config/environments/test.js.example +++ b/config/environments/test.js.example @@ -6,6 +6,9 @@ var config = { // Its default size is 4, but it can be changed at startup time (the absolute maximum is 128). // See http://docs.libuv.org/en/latest/threadpool.html ,uv_threadpool_size: undefined + // Time in milliseconds to force GC cycle. + // Disable by using <=0 value. + ,gc_interval: 10000 // Regular expression pattern to extract username // from hostname. Must have a single grabbing block. ,user_from_host: '(.*)'