Efficiently save validations.

This commit is contained in:
JoelKatz
2012-07-17 03:10:05 -07:00
parent e89af2f784
commit d83d8080fd
6 changed files with 99 additions and 12 deletions

View File

@@ -52,6 +52,7 @@ void Application::stop()
{
mIOService.stop();
mHashedObjectStore.bulkWrite();
mValidations.flush();
Log(lsINFO) << "Stopped: " << mIOService.stopped();
}