- Timestamp:
- 06/16/11 00:06:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HiveService.cs
r6407 r6419 47 47 dao.UpdateJobState(job.Id, JobState.Waiting, null, author.UserId, null); 48 48 return jobData.JobId; 49 } );49 }, false, true); 50 50 } 51 51 … … 55 55 job.ParentJobId = parentJobId; 56 56 return AddJob(job, jobData, dao.GetAssignedResources(parentJobId).Select(x => x.Id)); 57 } );57 }, false, true); 58 58 } 59 59 … … 97 97 public void UpdateJobData(Job job, JobData jobData) { 98 98 authen.AuthenticateForAnyRole(HiveRoles.Administrator, HiveRoles.Client, HiveRoles.Slave); 99 trans.UseTransaction(() => {99 //trans.UseTransaction(() => { // cneumuel: try without transaction 100 100 jobData.LastUpdate = DateTime.Now; 101 101 dao.UpdateJob(job); 102 102 dao.UpdateJobData(jobData); 103 });103 //}, false, true); 104 104 } 105 105
Note: See TracChangeset
for help on using the changeset viewer.