mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2024-07-24 13:15:06 +02: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;
|
||||
}
|
||||
|
||||
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…
Reference in New Issue
Block a user