Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/26/12 11:12:57 (12 years ago)
Author:
ascheibe
Message:

#1950

  • added more aggressive locking so that the views don't read run collections that get modified in the meantime
  • start downloading of tasks after the job has been uploaded completely
  • fixed exceptions that got thrown when waiting for the threads that upload the tasks
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs

    r8914 r8939  
    539539    private RunCollection GetAllRunsFromJob(RefreshableJob job) {
    540540      if (job != null) {
    541         RunCollection runs = new RunCollection();
     541        RunCollection runs = new RunCollection() { AlgorithmName = job.ItemName };
    542542
    543543        foreach (HiveTask subTask in job.HiveTasks) {
    544544          if (subTask is OptimizerHiveTask) {
    545545            OptimizerHiveTask ohTask = subTask as OptimizerHiveTask;
    546             runs.AddRange(ohTask.ItemTask.Item.Runs);
     546            ohTask.ExecuteReadActionOnItemTask(new Action(delegate() {
     547              runs.AddRange(ohTask.ItemTask.Item.Runs);
     548            }));
    547549          }
    548550        }
Note: See TracChangeset for help on using the changeset viewer.