connect mongodb on proxy startup
parent
b54518cf14
commit
59699b80ad
|
@ -68,6 +68,7 @@ public class ProxySystem extends Plugin {
|
||||||
new MongoConfig(this.configHandler.getMongodbHost(), this.configHandler.getMongodbPort(),
|
new MongoConfig(this.configHandler.getMongodbHost(), this.configHandler.getMongodbPort(),
|
||||||
this.configHandler.getMongodbUsername(), this.configHandler.getMongodbPassword(),
|
this.configHandler.getMongodbUsername(), this.configHandler.getMongodbPassword(),
|
||||||
this.configHandler.getMongodbDatabase()));
|
this.configHandler.getMongodbDatabase()));
|
||||||
|
this.mongoManager.connect();
|
||||||
|
|
||||||
this.redisManager = new RedisManager(
|
this.redisManager = new RedisManager(
|
||||||
new RedisConfig(this.configHandler.getRedisHost(), this.configHandler.getRedisPort()));
|
new RedisConfig(this.configHandler.getRedisHost(), this.configHandler.getRedisPort()));
|
||||||
|
|
Loading…
Reference in New Issue