Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/03/10 13:42:10 (14 years ago)
Author:
cneumuel
Message:

use no transactions in read-only service calls to avoid dead-locks (#1092)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.Core/3.3/Facades/ExecutionEngineFacade.cs

    r4121 r4137  
    5959
    6060    public ResponseObject<SerializedJob> GetLastSerializedResult(Guid jobId, bool requested, bool snapshot) {
    61       using (contextFactory.GetContext()) {
     61      using (contextFactory.GetContext(false)) {
    6262        return jobManager.GetLastSerializedJobResultOf(jobId, requested, snapshot);
    6363      }
     
    6565
    6666    public ResponseObject<JobDto> GetJobById(Guid jobId) {
    67       using (contextFactory.GetContext()) {
     67      using (contextFactory.GetContext(false)) {
    6868        return jobManager.GetJobById(jobId);
    6969      }
Note: See TracChangeset for help on using the changeset viewer.