ServiceBroker.Queues.QueueManager.PurgeOldData C# (CSharp) Method

PurgeOldData() private method

private PurgeOldData ( object ignored ) : void
ignored object
return void
        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);
            }
        }