From a4d0ee16f816c0cafd5c0afbdbfa72c1c1c96d53 Mon Sep 17 00:00:00 2001
From: anttil <anttil>
Date: Fri, 11 Jan 2013 12:46:11 +0000
Subject: [PATCH] BIS-298 / SP-447: Remove update flood

SVN: 28061
---
 .../ServiceConversationRateLimitedProgressListener.java        | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/openbis-common/source/java/ch/systemsx/cisd/openbis/common/conversation/progress/ServiceConversationRateLimitedProgressListener.java b/openbis-common/source/java/ch/systemsx/cisd/openbis/common/conversation/progress/ServiceConversationRateLimitedProgressListener.java
index 9aa55f98b35..012d429a0a2 100644
--- a/openbis-common/source/java/ch/systemsx/cisd/openbis/common/conversation/progress/ServiceConversationRateLimitedProgressListener.java
+++ b/openbis-common/source/java/ch/systemsx/cisd/openbis/common/conversation/progress/ServiceConversationRateLimitedProgressListener.java
@@ -87,8 +87,7 @@ public class ServiceConversationRateLimitedProgressListener implements
 
         if (timeSinceLastExecution > this.interval)
         {
-            this.executor.execute(update);
-            this.future = null;
+            future = this.executor.schedule(update, 0, TimeUnit.MILLISECONDS);
         } else
         {
             future =
-- 
GitLab