Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/07/12 02:07:44 (12 years ago)
Author:
ascheibe
Message:

#1744

  • added the new Hive engine. The engine can now be executed in the Hive. If child tasks are created it pauses and is transfered back to the server. If the child tasks are finished it is sent back to a slave.
  • changed the server so that it reschedules paused parent tasks if their childs are finished as well as tasks where FinishWhenChildJobsFinished is set to false
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveHiveEngine/HeuristicLab.Services.Hive/3.3/HiveService.cs

    r7259 r7287  
    7171        }
    7272        dao.AddTaskData(taskData);
    73         dao.UpdateTaskState(task.Id, DA.TaskState.Waiting, null, userManager.CurrentUserId, null);
     73        //TODO: hack!! change this
     74        if (task.State != TaskState.Aborted) {
     75          dao.UpdateTaskState(task.Id, DA.TaskState.Waiting, null, userManager.CurrentUserId, null);
     76        }
    7477        return taskData.TaskId;
    7578      }, false, true);
Note: See TracChangeset for help on using the changeset viewer.