Free cookie consent management tool by TermsFeed Policy Generator

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

#1233

  • fixed Admin Views plugin dependencies
  • use settings instead of magic numbers and strings
File:
1 edited

Legend:

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

    r6371 r6456  
    2323using System.IO;
    2424using System.Threading;
     25using HeuristicLab.Clients.Hive.SlaveCore.Properties;
    2526using HeuristicLab.Common;
    2627using HeuristicLab.Core;
     
    126127      if (appDomain != null) {
    127128        appDomain.UnhandledException -= new UnhandledExceptionEventHandler(AppDomain_UnhandledException);
    128         int repeat = 5;
     129        int repeat = Settings.Default.PluginDeletionRetries;
    129130        while (repeat > 0) {
    130131          try {
     
    136137          catch (CannotUnloadAppDomainException) {
    137138            log.LogMessage("Could not unload AppDomain, will try again in 1 sec.");
    138             Thread.Sleep(1000);
     139            Thread.Sleep(Settings.Default.PluginDeletionTimeout);
    139140            repeat--;
    140141            if (repeat == 0) {
Note: See TracChangeset for help on using the changeset viewer.