From 036333539b77aa8cd3337e1ea75a54c36e98af40 Mon Sep 17 00:00:00 2001 From: gabikliot Date: Tue, 5 May 2015 21:57:17 -0700 Subject: [PATCH] Fixed a bug in GPSTracker sample. --- .../GPSTracker.GrainImplementation/PushNotifierGrain.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();