Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/20/10 10:11:09 (13 years ago)
Author:
cneumuel
Message:

#1260

  • added Prepare() after a job finished on slave to delete unnecessary executioncontexts and scopes
File:
1 edited

Legend:

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

    r5093 r5132  
    234234        using (TransactionScope scope = new TransactionScope(TransactionScopeOption.Required, new TransactionOptions { IsolationLevel = ApplicationConstants.ISOLATION_LEVEL_SCOPE })) {
    235235          SlaveDto slave = UpdateSlaveData(heartbeatData);
    236           DaoLocator.SlaveDao.Update(slave);
    237 
     236          lock (DefaultScheduler.locker) {
     237            DaoLocator.SlaveDao.Update(slave);
     238          }
    238239          SaveTimestamp(heartbeatData);
    239240
Note: See TracChangeset for help on using the changeset viewer.