Changeset 12961


Ignore:
Timestamp:
09/21/15 16:15:47 (6 years ago)
Author:
ascheibe
Message:

#2388 fixed a small bug and disabled performance logging

Location:
trunk/sources
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.Hive/3.3/Properties/Settings.Designer.cs

    r12878 r12961  
    8989        [global::System.Configuration.ApplicationScopedSettingAttribute()]
    9090        [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    91         [global::System.Configuration.DefaultSettingValueAttribute("True")]
     91        [global::System.Configuration.DefaultSettingValueAttribute("False")]
    9292        public bool ProfileServicePerformance {
    9393            get {
  • trunk/sources/HeuristicLab.Services.Hive/3.3/Properties/Settings.settings

    r12878 r12961  
    2525    </Setting>
    2626    <Setting Name="ProfileServicePerformance" Type="System.Boolean" Scope="Application">
    27       <Value Profile="(Default)">True</Value>
     27      <Value Profile="(Default)">False</Value>
    2828    </Setting>
    2929    <Setting Name="GenerateStatisticsInterval" Type="System.TimeSpan" Scope="Application">
  • trunk/sources/HeuristicLab.Services.Hive/3.3/app.config

    r12878 r12961  
    3030            </setting>
    3131            <setting name="ProfileServicePerformance" serializeAs="String">
    32                 <value>True</value>
     32                <value>False</value>
    3333            </setting>
    3434            <setting name="GenerateStatisticsInterval" serializeAs="String">
  • trunk/sources/HeuristicLab.Services.WebApp.Maintenance/3.3/WebApi/FactTaskController.cs

    r12858 r12961  
    3939      var factTaskDao = pm.FactTaskDao;
    4040      return pm.UseTransaction(() => {
    41         var query = dimJobDao.GetAll().Where(x => x.DateCreated >= start && x.DateCreated <= end);
     41        var query = dimJobDao.GetAll().Where(x => x.DateCreated >= start && x.DateCreated <= end && x.DateCompleted != null);
    4242        return new DT.JobPage {
    4343          TotalJobs = query.Count(),
     
    6969      var dimJobDao = pm.DimJobDao;
    7070      var jobIds = pm.UseTransaction(() => dimJobDao.GetAll()
    71         .Where(x => x.DateCreated >= start && x.DateCreated <= end)
     71        .Where(x => x.DateCreated >= start && x.DateCreated <= end && x.DateCompleted != null)
    7272        .Select(x => x.JobId)
    7373        .ToList()
Note: See TracChangeset for help on using the changeset viewer.