Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/08/11 00:04:16 (13 years ago)
Author:
cneumuel
Message:

#1233

  • locking for childHiveJobs in OptimizerHiveJob avoid multi threaded access issues
  • added IsPrivileged to gui
  • minor changes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/WcfService.cs

    r6371 r6381  
    101101    /// Uploads the jobData and sets a new jobState (while correctly setting Transferring state)
    102102    /// </summary>
    103     public void UpdateJobData(Job job, JobData jobData, Guid slaveId, JobState state) {
     103    public void UpdateJobData(Job job, JobData jobData, Guid slaveId, JobState state, string exception = "") {
    104104      CallHiveService(service => {
    105105        service.UpdateJob(job);
    106106        job = service.UpdateJobState(job.Id, JobState.Transferring, slaveId, null, null);
    107107        service.UpdateJobData(job, jobData);
    108         service.UpdateJobState(job.Id, state, slaveId, null, null);
     108        service.UpdateJobState(job.Id, state, slaveId, null, exception);
    109109      });
    110110    }
Note: See TracChangeset for help on using the changeset viewer.