Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2098 for trunk


Ignore:
Timestamp:
06/25/09 13:53:27 (15 years ago)
Author:
msteinbi
Message:

removed check for version when sending plugins (#531)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.Core/3.2/ClientCommunicator.cs

    r2097 r2098  
    391391          response.StatusMessage = ApplicationConstants.RESPONSE_COMMUNICATOR_JOB_PULLED;
    392392          lock (newAssignedJobs) {
    393             newAssignedJobs.Add(job2Calculate.Id, ApplicationConstants.JOB_TIME_TO_LIVE);
     393            if (!newAssignedJobs.ContainsKey(job2Calculate.Id))
     394              newAssignedJobs.Add(job2Calculate.Id, ApplicationConstants.JOB_TIME_TO_LIVE);
    394395          }
    395396        } else {
     
    674675        // TODO: Split version to major, minor and revision number
    675676        foreach (PluginInfo currPlugin in allActivePlugins) {
    676           if (currPlugin.Name == pluginInfo.Name
    677               && currPlugin.Version.ToString() == pluginInfo.Version) {
     677          if (currPlugin.Name == pluginInfo.Name) {
    678678
    679679            CachedHivePluginInfo currCachedPlugin = new CachedHivePluginInfo {
Note: See TracChangeset for help on using the changeset viewer.