ThreadPool manager rework.
This commit is contained in:
@@ -912,7 +912,7 @@ public class SevenSignsFestival implements SpawnListener
|
||||
// at the specified time, then invoke it automatically after every cycle.
|
||||
_managerInstance = new FestivalManager();
|
||||
setNextFestivalStart(Config.ALT_FESTIVAL_MANAGER_START + FESTIVAL_SIGNUP_TIME);
|
||||
_managerScheduledTask = ThreadPoolManager.getInstance().scheduleGeneralAtFixedRate(_managerInstance, Config.ALT_FESTIVAL_MANAGER_START, Config.ALT_FESTIVAL_CYCLE_LENGTH);
|
||||
_managerScheduledTask = ThreadPoolManager.scheduleAtFixedRate(_managerInstance, Config.ALT_FESTIVAL_MANAGER_START, Config.ALT_FESTIVAL_CYCLE_LENGTH);
|
||||
|
||||
_log.info("SevenSignsFestival: The first Festival of Darkness cycle begins in " + (Config.ALT_FESTIVAL_MANAGER_START / 60000) + " minute(s).");
|
||||
}
|
||||
|
Reference in New Issue
Block a user