Compare commits

...

1 Commits

Author SHA1 Message Date
Rached Ben Mustapha dcb6e36bc0 wip 2019-11-07 17:01:33 -08:00
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class LogConsumer {
constructor(mongoConfig, logger) { constructor(mongoConfig, logger) {
const { authCredentials, replicaSetHosts, database } = mongoConfig; const { authCredentials, replicaSetHosts, database } = mongoConfig;
const cred = MongoUtils.credPrefix(authCredentials); const cred = MongoUtils.credPrefix(authCredentials);
this._mongoUrl = `mongodb://${cred}${replicaSetHosts}/local`; this._mongoUrl = `mongodb://${cred}${replicaSetHosts}/`;
this._logger = logger; this._logger = logger;
this._oplogNsRegExp = new RegExp(`^${database}\\.`); this._oplogNsRegExp = new RegExp(`^${database}\\.`);
// oplog collection // oplog collection