Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure Outbox record deduplication in code #248

Open
MarcinHoppe opened this issue Dec 9, 2016 · 1 comment
Open

Configure Outbox record deduplication in code #248

MarcinHoppe opened this issue Dec 9, 2016 · 1 comment

Comments

@MarcinHoppe
Copy link
Contributor

Currently cleanup of Outbox records is done through App.config settings as described on this documentation page:

https://docs.particular.net/nservicebus/nhibernate/outbox#deduplication-record-lifespan

In addition to this, we need a code-first configuration API for these settings:

configuration.UsePersistence<NHibernatePersistence>().OutboxDeduplication(
    timeToKeepOutboxRecords: TimeSpan.FromDays(30),
    deduplicationFrequency: TimeSpan.FromMinutes(10),
    timeToWaitBeforeTriggeringCriticalError: TimeSpan.FromMinutes(2));
@SzymonPobiega
Copy link
Member

❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants