Changeset 6248
- Timestamp:
- 05/23/11 11:26:27 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave.Views/3.4/AboutView.cs
r6230 r6248 28 28 namespace HeuristicLab.Clients.Hive.SlaveCore.Views { 29 29 [View("AboutView: Show some information about HeursticLab Hive")] 30 [Content(typeof(Item), IsDefaultView = false)]31 30 public partial class AboutView : ItemView { 32 31 public new Item Content { -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/Core.cs
r6216 r6248 150 150 // handle exception of task 151 151 clientCom.LogMessage(t.Exception.ToString()); 152 wcfService.UpdateJobState(container.JobId, JobState.Failed, t.Exception.ToString()); 153 SlaveStatusInfo.IncrementJobsFailed(); 152 if (t.Exception.GetType() != typeof(JobNotFoundException)) { 153 wcfService.UpdateJobState(container.JobId, JobState.Waiting, t.Exception.ToString()); 154 SlaveStatusInfo.IncrementJobsFailed(); 155 } 154 156 }, TaskContinuationOptions.OnlyOnFaulted); 155 157 break; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/SlaveJob.cs
r6216 r6248 165 165 try { 166 166 JobData sJob = executor.GetFinishedJob(); 167 clientCom.LogMessage(string.Format("Sending the finished job with id: {0}", JobId)); 168 wcfService.UpdateJobData(job, sJob, ConfigManager.Instance.GetClientInfo().Id, JobState.Finished); 167 if (sJob != null) { 168 clientCom.LogMessage(string.Format("Sending the finished job with id: {0}", JobId)); 169 wcfService.UpdateJobData(job, sJob, ConfigManager.Instance.GetClientInfo().Id, JobState.Finished); 170 } 169 171 } 170 172 catch (Exception e) { … … 210 212 if (pluginsPrepared) { 211 213 try { 212 appDomain = HeuristicLab.PluginInfrastructure.Sandboxing.SandboxManager.CreateAndInit Sandbox(job.Id.ToString(), pluginDir, Path.Combine(pluginDir, configFileName));214 appDomain = HeuristicLab.PluginInfrastructure.Sandboxing.SandboxManager.CreateAndInitPrivilegedSandbox(job.Id.ToString(), pluginDir, Path.Combine(pluginDir, configFileName)); 213 215 appDomain.UnhandledException += new UnhandledExceptionEventHandler(AppDomain_UnhandledException); 214 216
Note: See TracChangeset
for help on using the changeset viewer.