mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-11-03 01:00:18 +01:00
let the database be cached ...
This commit is contained in:
parent
2b02f130af
commit
312410c9de
@ -226,13 +226,13 @@ public class AuthMe extends JavaPlugin {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
dataManager = new DataManager(this, database);
|
|
||||||
dataManager.start();
|
|
||||||
|
|
||||||
if (Settings.isCachingEnabled) {
|
if (Settings.isCachingEnabled) {
|
||||||
database = new CacheDataSource(this, database);
|
database = new CacheDataSource(this, database);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dataManager = new DataManager(this, database);
|
||||||
|
dataManager.start();
|
||||||
|
|
||||||
// Setup API
|
// Setup API
|
||||||
api = new API(this, database);
|
api = new API(this, database);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user