rebus-org / Rebus.SqlServer

:bus: Microsoft SQL Server transport and persistence for Rebus
https://mookid.dk/category/rebus
Other
43 stars 42 forks source link

Make ExpiredMessagesCleanupTask interval configurable #60

Closed clegendre closed 4 years ago

clegendre commented 4 years ago

Hello,

I'm experiencing timeouts in ExpiredMessagesCleanupTask, so I dig into the code and noticed that ExpiredMessagesCleanupInterval is not used for ExpiredMessagesCleanupTask (which is hardcoded to 60 seconds). Could you bind this configuration to the task, and make it more accessible via SqlServerTransportOption ?

Thanks you !

mookid8000 commented 4 years ago

Thanks for reporting this 🙂 it's fixed in Rebus.SqlServer 6.0.1, which is on NuGet.org now 😁

Thanks again! 👍