Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Merge pull request #4272 from withspectrum/2.4.72
Browse files Browse the repository at this point in the history
2.4.72
  • Loading branch information
brianlovin authored Nov 19, 2018
2 parents c5b74c6 + df33a7f commit 7b340df
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions analytics/models/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ const IS_PROD = !process.env.FORCE_DEV && process.env.NODE_ENV === 'production';

const DEFAULT_CONFIG = {
db: 'spectrum',
max: 100, // Maximum number of connections, default is 1000
buffer: 10, // Minimum number of connections open at any given moment, default is 50
max: 20, // Maximum number of connections, default is 1000
buffer: 1, // Minimum number of connections open at any given moment, default is 50
timeoutGb: 60 * 1000, // How long should an unused connection stick around, default is an hour, this is a minute
};

Expand Down
4 changes: 2 additions & 2 deletions athena/models/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const IS_PROD = !process.env.FORCE_DEV && process.env.NODE_ENV === 'production';

const DEFAULT_CONFIG = {
db: 'spectrum',
max: 100, // Maximum number of connections, default is 1000
buffer: 10, // Minimum number of connections open at any given moment, default is 50
max: 20, // Maximum number of connections, default is 1000
buffer: 1, // Minimum number of connections open at any given moment, default is 50
timeoutGb: 60 * 1000, // How long should an unused connection stick around, default is an hour, this is a minute
};

Expand Down
4 changes: 2 additions & 2 deletions chronos/models/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ const IS_PROD = !process.env.FORCE_DEV && process.env.NODE_ENV === 'production';

const DEFAULT_CONFIG = {
db: 'spectrum',
max: 100, // Maximum number of connections, default is 1000
buffer: 10, // Minimum number of connections open at any given moment, default is 50
max: 20, // Maximum number of connections, default is 1000
buffer: 1, // Minimum number of connections open at any given moment, default is 50
timeoutGb: 60 * 1000, // How long should an unused connection stick around, default is an hour, this is a minute
};

Expand Down
4 changes: 2 additions & 2 deletions hermes/models/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ const IS_PROD = !process.env.FORCE_DEV && process.env.NODE_ENV === 'production';

const DEFAULT_CONFIG = {
db: 'spectrum',
max: 100, // Maximum number of connections, default is 1000
buffer: 10, // Minimum number of connections open at any given moment, default is 50
max: 20, // Maximum number of connections, default is 1000
buffer: 1, // Minimum number of connections open at any given moment, default is 50
timeoutGb: 60 * 1000, // How long should an unused connection stick around, default is an hour, this is a minute
};

Expand Down
4 changes: 2 additions & 2 deletions mercury/models/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const IS_PROD = !process.env.FORCE_DEV && process.env.NODE_ENV === 'production';

const DEFAULT_CONFIG = {
db: 'spectrum',
max: 100, // Maximum number of connections, default is 1000
buffer: 10, // Minimum number of connections open at any given moment, default is 50
max: 20, // Maximum number of connections, default is 1000
buffer: 1, // Minimum number of connections open at any given moment, default is 50
timeoutGb: 60 * 1000, // How long should an unused connection stick around, default is an hour, this is a minute
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Spectrum",
"version": "2.4.71",
"version": "2.4.72",
"license": "BSD-3-Clause",
"devDependencies": {
"@babel/preset-flow": "^7.0.0",
Expand Down
4 changes: 2 additions & 2 deletions shared/db/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const IS_PROD = !process.env.FORCE_DEV && process.env.NODE_ENV === 'production';
const DEFAULT_CONFIG = {
// Connect to the test database when, well, testing
db: !process.env.TEST_DB ? 'spectrum' : 'testing',
max: 500, // Maximum number of connections, default is 1000
buffer: 5, // Minimum number of connections open at any given moment, default is 50
max: 20, // Maximum number of connections, default is 1000
buffer: 1, // Minimum number of connections open at any given moment, default is 50
timeoutGb: 60 * 1000, // How long should an unused connection stick around, default is an hour, this is a minute
};

Expand Down

0 comments on commit 7b340df

Please sign in to comment.