Rebus.SqlServer icon indicating copy to clipboard operation
Rebus.SqlServer copied to clipboard

Implement Outbox Cleaner

Open robpackwood opened this issue 2 years ago • 1 comments

Right now, there is no implementation for the periodic outbox cleaner. It simply logs a message like so:

async Task RunCleaner()
{
    _logger.Debug("Checking outbox storage for messages to be deleted");
}

This request is to implement the cleaner. Perhaps add a configuration option for the Outbox functionality such as:

EnableOutboxCleaner OutboxCleanerIntervalInSeconds (currently hardcoded to run every 120 seconds)

robpackwood avatar May 11 '23 17:05 robpackwood

Potential implementation as well as options (pseudocode with comments) are in the commit on the 'outbox-cleaner' feature branch here: https://github.com/D63H/Rebus.SqlServer/tree/outbox-cleaner

robpackwood avatar May 11 '23 17:05 robpackwood