Login | Register
My pages Projects Community openCollabNet

Discussions > commits > [chorns] 572: Clear revision worker queue when processing it's elements.

sin
Discussion topic

Back to topic list

[chorns] 572: Clear revision worker queue when processing it's elements.

Reply

Author chorns
Full name Casper Hornstrup
Date 2005-12-18 13:29:09 PST
Message Clear revision worker queue when processing it's elements.
Resolves #28.
Modified: branches/0.1/Sin.Int​egrationManager.Serv​ice/RevisionWorker.c​s
Modified: branches/0.1/Sin.Set​up/Changes.txt
  _____

Modified: branches/0.1/Sin.Int​egrationManager.Serv​ice/RevisionWorker.c​s
--- branches/0.1/Sin.Int​egrationManager.Serv​ice/RevisionWorker.c​s
2005-12-18 21:23:19 UTC (rev 571)
+++ branches/0.1/Sin.Int​egrationManager.Serv​ice/RevisionWorker.c​s
2005-12-18 21:28:30 UTC (rev 572)
@@ -87,8 +87,9 @@

                         lock (this)
                         {
 
requestsToProcess = new ArrayList(revisionWorkerQueue);
+
revisionWorkerQueue.Clear();
                         }
- if (requestsToProcess !=
null && requestsToProcess.Count > 0)
+ if
(requestsToProcess.Count > 0)
 
PerformWork(requestsToProcess);
                     }
                     catch (ThreadAbortException ex)
  _____

Modified: branches/0.1/Sin.Set​up/Changes.txt
--- branches/0.1/Sin.Set​up/Changes.txt 2005-12-18 21:23:19 UTC (rev
571)
+++ branches/0.1/Sin.Set​up/Changes.txt 2005-12-18 21:28:30 UTC (rev
572)
@@ -7,6 +7,7 @@

     * Fix error due to no master working directory registered (#27).
     * Fix error due to master working directory not created (#24).
     * Ensure commit mail is sent only once in case of an unexpected
shutdown (#12).
+ * Don't notify integrators repeatedly of the same new revision
(#28).
 
 Changes in version 0.1
 ______________________
Attachments

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

[chorns] 572: Clear revision worker queue when processing it's elements. chorns Casper Hornstrup 2005-12-18 13:29:09 PST
Messages per page: