This commit is contained in:
Lucio Lelii 2017-03-24 09:43:10 +00:00
parent dec655f480
commit c623abdac5
1 changed files with 1 additions and 2 deletions

View File

@ -26,8 +26,7 @@ public class AccountingManager extends ContainerHandler {
@Override @Override
public void onStop(ContainerLifecycleEvent.Stop e) { public void onStop(ContainerLifecycleEvent.Stop e) {
logger.trace("Going to flush accounting data"); logger.trace("Going to flush accounting data");
AccountingPersistenceFactory.flushAll(1000, TimeUnit.MILLISECONDS); AccountingPersistenceFactory.shutDown(1000, TimeUnit.MILLISECONDS);
AccountingPersistenceFactory.shutDown();
} }
@Override @Override