mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 21:57:22 +01:00
Mongoose 5 (#9870)
* mongoose 5: remove unused autoinc, remove promise option (it uses native promises now) * remove mongodb package * remove mongoskin * migrate migration away from mongoskin * fix mongoose hooks * fix _updateUserWithRetries * try without next * remove init * update sinon * fix some integration tests * fix remaining tests * fix error message * fix error message * fix error message * another fix * fix mongoose options * remove greenkeeper exception
This commit is contained in:
committed by
Sabe Jones
parent
f9a47b1420
commit
1332fd68b0
@@ -26,7 +26,6 @@ let improveRepl = (context) => {
|
||||
const mongooseOptions = !isProd ? {} : {
|
||||
keepAlive: 1,
|
||||
connectTimeoutMS: 30000,
|
||||
useMongoClient: true,
|
||||
};
|
||||
mongoose.connect(
|
||||
nconf.get('NODE_DB_URI'),
|
||||
|
||||
Reference in New Issue
Block a user