Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2104


Ignore:
Timestamp:
06/25/09 15:45:33 (15 years ago)
Author:
gkronber
Message:

Set priority of HiveEngine jobs to ThreadPriority.Lowest. #545 (Engine which can be executed in the Hive)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Engine/3.2/HiveEngine.cs

    r2099 r2104  
    5353      job = new Job();
    5454      abortRequested = false;
     55      Priority = ThreadPriority.Lowest;
    5556    }
    5657
     
    8889    public void Execute() {
    8990      var jobObj = CreateJobObj();
    90 
    9191      IExecutionEngineFacade executionEngineFacade = ServiceLocator.CreateExecutionEngineFacade(HiveServerUrl);
    9292      ResponseObject<Contracts.BusinessObjects.Job> res = executionEngineFacade.AddJob(jobObj);
     
    162162        HiveLogger.Debug("HiveEngine: Results-polling - Got result!");
    163163        job = (Job)PersistenceManager.RestoreFromGZip(jobResult.SerializedJobResultData);
    164         //PluginManager.ControlManager.ShowControl(job.Engine.CreateView());
     164        PluginManager.ControlManager.ShowControl(job.Engine.CreateView());
    165165      }
    166166      //HiveLogger.Debug("HiveEngine: Results-polling - Exception!");
Note: See TracChangeset for help on using the changeset viewer.