Browse Source

Remove custom sequelize pool settings

Edward Bramanti 10 years ago
parent
commit
9dcb1a805a

+ 1 - 6
frameworks/JavaScript/express/app.js

@@ -30,12 +30,7 @@ var WorldSchema = new mongoose.Schema({
 var sequelize = new Sequelize('hello_world', 'benchmarkdbuser', 'benchmarkdbpass', {
   host: 'localhost',
   dialect: 'mysql',
-  logging: false,
-  pool: {
-    max: 5000,
-    min: 0,
-    idle: 5000
-  }
+  logging: false
 });
 
 var World = sequelize.define('World', {

+ 1 - 6
frameworks/JavaScript/hapi/app.js

@@ -21,12 +21,7 @@ var WorldSchema = new mongoose.Schema({
 var sequelize = new Sequelize('hello_world', 'benchmarkdbuser', 'benchmarkdbpass', {
 	host: 'localhost',
 	dialect: 'mysql',
-	logging: false,
-	pool: {
-		max: 5000,
-		min: 0,
-		idle: 5000
-	}
+	logging: false
 });
 
 var World = sequelize.define('World', {

+ 1 - 6
frameworks/JavaScript/nodejs/hello.js

@@ -41,12 +41,7 @@ var WorldSchema = new mongoose.Schema({
 var sequelize = new Sequelize('hello_world', 'benchmarkdbuser', 'benchmarkdbpass', {
   host: 'localhost',
   dialect: 'mysql',
-  logging: false,
-  pool: {
-    max: 5000,
-    min: 0,
-    idle: 5000
-  }
+  logging: false
 });
 
 var World = sequelize.define('World', {