private void PurgeOldData(object ignored)
{
logger.DebugFormat("Starting to purge old data");
try
{
queueStorage.Global(actions =>
{
actions.BeginTransaction();
actions.DeleteHistoric();
actions.Commit();
});
}
catch (Exception exception)
{
logger.Warn("Failed to purge old data from the system", exception);
}
}