Free cookie consent management tool by TermsFeed Policy Generator

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

#1233

  • created events when statelog changed
  • fixed memory leak in hiveengine
  • extended timeout for long running transactions and database contexts (when jobdata is stored)
  • replaced random guids in database with sequential guids for performance reasons
  • minor fixes and cleanups
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HiveService.cs

    r6407 r6419  
    4747        dao.UpdateJobState(job.Id, JobState.Waiting, null, author.UserId, null);
    4848        return jobData.JobId;
    49       });
     49      }, false, true);
    5050    }
    5151
     
    5555        job.ParentJobId = parentJobId;
    5656        return AddJob(job, jobData, dao.GetAssignedResources(parentJobId).Select(x => x.Id));
    57       });
     57      }, false, true);
    5858    }
    5959
     
    9797    public void UpdateJobData(Job job, JobData jobData) {
    9898      authen.AuthenticateForAnyRole(HiveRoles.Administrator, HiveRoles.Client, HiveRoles.Slave);
    99       trans.UseTransaction(() => {
     99      //trans.UseTransaction(() => { // cneumuel: try without transaction
    100100        jobData.LastUpdate = DateTime.Now;
    101101        dao.UpdateJob(job);
    102102        dao.UpdateJobData(jobData);
    103       });
     103      //}, false, true);
    104104    }
    105105
Note: See TracChangeset for help on using the changeset viewer.