let the database be cached ...
This commit is contained in:
parent
2b02f130af
commit
312410c9de
@ -226,13 +226,13 @@ public class AuthMe extends JavaPlugin {
|
||||
break;
|
||||
}
|
||||
|
||||
dataManager = new DataManager(this, database);
|
||||
dataManager.start();
|
||||
|
||||
if (Settings.isCachingEnabled) {
|
||||
database = new CacheDataSource(this, database);
|
||||
}
|
||||
|
||||
dataManager = new DataManager(this, database);
|
||||
dataManager.start();
|
||||
|
||||
// Setup API
|
||||
api = new API(this, database);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user