Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/12/08 12:07:15 (16 years ago)
Author:
gkronber
Message:

fixed a few bugs (#197 Use SQLite backend to store waiting engines and results instead of in-memory dictionaries)

File:
1 edited

Legend:

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

    r501 r502  
    4141    private const int MAX_CONNECTION_RETRIES = 10;
    4242    private const int RETRY_TIMEOUT_SEC = 60;
    43     private const int CHECK_RESULTS_TIMEOUT = 3;
     43    private const int RESULT_POLLING_TIMEOUT = 5;
    4444
    4545    private class Job {
     
    150150      try {
    151151        while(true) {
     152          Thread.Sleep(TimeSpan.FromSeconds(RESULT_POLLING_TIMEOUT));
    152153          Job job = null;
    153154          lock(runningQueueLock) {
Note: See TracChangeset for help on using the changeset viewer.