Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/13/10 14:13:15 (14 years ago)
Author:
cneumuel
Message:

#1260

  • moved all state-information into lifecycleManager
  • changed isolation level for transactions to ReadCommited
  • made currentlyFetching-status on slave more rubust
  • made LogServiceReader more rubust
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.3/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/Core.cs

    r5000 r5093  
    115115      wcfService.ProcessSnapshotCompleted += new EventHandler<ProcessSnapshotCompletedEventArgs>(wcfService_ProcessSnapshotCompleted);
    116116      wcfService.Connected += new EventHandler(wcfService_Connected);
     117      wcfService.GetJobFailed += new EventHandler<EventArgs<Exception>>(wcfService_GetJobFailed);
    117118    }
    118119
     
    122123      wcfService.ProcessSnapshotCompleted -= new EventHandler<ProcessSnapshotCompletedEventArgs>(wcfService_ProcessSnapshotCompleted);
    123124      wcfService.Connected -= new EventHandler(wcfService_Connected);
     125      wcfService.GetJobFailed -= new EventHandler<EventArgs<Exception>>(wcfService_GetJobFailed);
    124126    }
    125127
     
    457459    }
    458460
     461    void wcfService_GetJobFailed(object sender, EventArgs<Exception> e) {
     462      Logger.Info("GetJobFailed: " + e.Value.ToString());
     463      CurrentlyFetching = false;
     464    }
     465
    459466    private void FetchCalendarFromServer() {
    460467      ResponseCalendar calres = wcfService.GetCalendarSync(ConfigManager.Instance.GetClientInfo().Id);
Note: See TracChangeset for help on using the changeset viewer.