Skip to content

Commit

Permalink
correct the max connections #37
Browse files Browse the repository at this point in the history
  • Loading branch information
hiba committed Apr 6, 2017
1 parent b8a9e07 commit d521b8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/db_connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const options = {
host: params.hostname,
port: params.port,
database: params.pathname.split('/')[1],
max: 2,
max: process.env.MAX_CONNECTIONS || 2,
user: username,
password: password,
ssl: params.hostname !== 'localhost'
Expand Down

0 comments on commit d521b8d

Please sign in to comment.