Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/11/11 20:57:29 (13 years ago)
Author:
ascheibe
Message:

#1233

  • fix pause/stop bug when serializing big experiments
  • use proper newlines
  • use GetPlugin(..) instead of GetPlugins()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/PluginCache.cs

    r5787 r6004  
    142142        SlaveClientCom.Instance.ClientCom.LogMessage("Fetching plugins for job");
    143143
    144         IEnumerable<Plugin> pluginDescriptions = WcfService.Instance.GetPlugins();
    145144        List<Plugin> requiredPlugins = new List<Plugin>();
    146145        foreach (Guid pluginId in myJob.PluginsNeededIds) {
    147           Plugin pl = pluginDescriptions.FirstOrDefault(p => p.Id == pluginId);
    148           if (pl != null)
    149             requiredPlugins.Add(pl);
     146          //TODO: rewrite, GetPlugin(..) should be the last thing to do after checking the local plugins
     147          Plugin plugin = WcfService.Instance.GetPlugin(pluginId);
     148          if (plugin != null)
     149            requiredPlugins.Add(plugin);
    150150        }
    151151
Note: See TracChangeset for help on using the changeset viewer.