Hotfix 4.6.2: Avoid skipping timeouts with the RavenDB persister

Simplify querying for timeouts, and introduce cleaning-up abilities to guarantee we don't skip any timeouts

@andreasohlund @johnsimons please review
I'd say we add that. Appsettings?


On Fri, Jun 13, 2014 at 12:06 PM, Itamar Syn-Hershko <
notifications@github.com> wrote:

> In
> src/NServiceBus.Core/Persistence/Raven/TimeoutPersister/RavenTimeoutPersistence.cs:
>
> > @@ -14,9 +14,17 @@ public class RavenTimeoutPersistence : IPersistTimeouts
> >      {
> >          readonly IDocumentStore store;
> >
> > -        public RavenTimeoutPersistence(StoreAccessor  storeAccessor)
> > +        public TimeSpan CleanupGapFromTimeslice { get; set; }
> > +        public TimeSpan TriggerCleanupEvery { get; set; }
>
> Probably, in case the defaults aren't optimal
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Particular/NServiceBus/pull/2162/files#r13744836>.
>