Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/19/08 14:54:53 (16 years ago)
Author:
gkronber
Message:

fixed a small bug in the JobManager. The results gathering thread slept 5 seconds before downloading each result. This is bad if it has to collect 100 results.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Grid/JobManager.cs

    r502 r520  
    150150      try {
    151151        while(true) {
    152           Thread.Sleep(TimeSpan.FromSeconds(RESULT_POLLING_TIMEOUT));
    153152          Job job = null;
    154153          lock(runningQueueLock) {
     
    180179                  runningWaitHandle.Set();
    181180                }
     181                Thread.Sleep(TimeSpan.FromSeconds(RESULT_POLLING_TIMEOUT)); // sleep a while before trying to get the next result
    182182              }
    183183            }
Note: See TracChangeset for help on using the changeset viewer.