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

Commit 7b340df

Browse files
authored
Merge pull request #4272 from withspectrum/2.4.72
2.4.72
2 parents c5b74c6 + df33a7f commit 7b340df

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

analytics/models/db.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ const IS_PROD = !process.env.FORCE_DEV && process.env.NODE_ENV === 'production';
66

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

athena/models/db.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ const IS_PROD = !process.env.FORCE_DEV && process.env.NODE_ENV === 'production';
55

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

chronos/models/db.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ const IS_PROD = !process.env.FORCE_DEV && process.env.NODE_ENV === 'production';
55

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

hermes/models/db.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ const IS_PROD = !process.env.FORCE_DEV && process.env.NODE_ENV === 'production';
33

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

mercury/models/db.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const IS_PROD = !process.env.FORCE_DEV && process.env.NODE_ENV === 'production';
77

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Spectrum",
3-
"version": "2.4.71",
3+
"version": "2.4.72",
44
"license": "BSD-3-Clause",
55
"devDependencies": {
66
"@babel/preset-flow": "^7.0.0",

shared/db/db.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ const IS_PROD = !process.env.FORCE_DEV && process.env.NODE_ENV === 'production';
77
const DEFAULT_CONFIG = {
88
// Connect to the test database when, well, testing
99
db: !process.env.TEST_DB ? 'spectrum' : 'testing',
10-
max: 500, // Maximum number of connections, default is 1000
11-
buffer: 5, // Minimum number of connections open at any given moment, default is 50
10+
max: 20, // Maximum number of connections, default is 1000
11+
buffer: 1, // Minimum number of connections open at any given moment, default is 50
1212
timeoutGb: 60 * 1000, // How long should an unused connection stick around, default is an hour, this is a minute
1313
};
1414

0 commit comments

Comments
 (0)