fix for mongo driver cache

This commit is contained in:
Radu Ioan Fericean
2016-07-20 17:45:40 +03:00
parent ff880c5d6c
commit 0986371a95

View File

@@ -752,6 +752,7 @@ func (ms *MongoStorage) cacheAccounting(loadID string, alsKeys []string) (err er
return err
}
utils.Logger.Info("Finished load history caching.")
CacheCommitTransaction()
utils.Logger.Info(fmt.Sprintf("Cache accounting creation time: %v", time.Since(start)))
var loadHist *utils.LoadInstance