Changeset 502 for trunk/sources/HeuristicLab.Grid/JobManager.cs
- Timestamp:
- 08/12/08 12:07:15 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Grid/JobManager.cs
r501 r502 41 41 private const int MAX_CONNECTION_RETRIES = 10; 42 42 private const int RETRY_TIMEOUT_SEC = 60; 43 private const int CHECK_RESULTS_TIMEOUT = 3;43 private const int RESULT_POLLING_TIMEOUT = 5; 44 44 45 45 private class Job { … … 150 150 try { 151 151 while(true) { 152 Thread.Sleep(TimeSpan.FromSeconds(RESULT_POLLING_TIMEOUT)); 152 153 Job job = null; 153 154 lock(runningQueueLock) {
Note: See TracChangeset
for help on using the changeset viewer.