From d6805654854de984c354dfede79505f42e1a7d26 Mon Sep 17 00:00:00 2001 From: John Simons Date: Thu, 2 Oct 2014 10:02:42 +1000 Subject: [PATCH] Added null check for OwningTimeoutManager --- .../Raven/TimeoutPersister/RavenTimeoutPersistence.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/NServiceBus.Core/Persistence/Raven/TimeoutPersister/RavenTimeoutPersistence.cs b/src/NServiceBus.Core/Persistence/Raven/TimeoutPersister/RavenTimeoutPersistence.cs index ed720e3b517..0dcce334e89 100644 --- a/src/NServiceBus.Core/Persistence/Raven/TimeoutPersister/RavenTimeoutPersistence.cs +++ b/src/NServiceBus.Core/Persistence/Raven/TimeoutPersister/RavenTimeoutPersistence.cs @@ -32,6 +32,7 @@ private static IRavenQueryable GetChunkQuery(IDocumentSession sessi .OrderBy(t => t.Time) .Where( t => + t.OwningTimeoutManager == null || t.OwningTimeoutManager == String.Empty || t.OwningTimeoutManager == Configure.EndpointName); }