connect mongodb on proxy startup

master
alex 2022-04-10 21:34:42 +02:00
parent b54518cf14
commit 59699b80ad
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ public class ProxySystem extends Plugin {
new MongoConfig(this.configHandler.getMongodbHost(), this.configHandler.getMongodbPort(),
this.configHandler.getMongodbUsername(), this.configHandler.getMongodbPassword(),
this.configHandler.getMongodbDatabase()));
this.mongoManager.connect();
this.redisManager = new RedisManager(
new RedisConfig(this.configHandler.getRedisHost(), this.configHandler.getRedisPort()));