diff --git a/Samples/GPSTracker/GPSTracker.GrainImplementation/PushNotifierGrain.cs b/Samples/GPSTracker/GPSTracker.GrainImplementation/PushNotifierGrain.cs index 87eb973a03..d5c540050c 100644 --- a/Samples/GPSTracker/GPSTracker.GrainImplementation/PushNotifierGrain.cs +++ b/Samples/GPSTracker/GPSTracker.GrainImplementation/PushNotifierGrain.cs @@ -104,7 +104,7 @@ public Task SendMessage(VelocityMessage message) { // add a message to the send queue messageQueue.Add(message); - if (messageQueue.Count < 25) + if (messageQueue.Count > 25) { // if the queue size is greater than 25, flush the queue Flush();