Free cookie consent management tool by TermsFeed Policy Generator

Changeset 1831 for trunk


Ignore:
Timestamp:
05/15/09 14:27:08 (15 years ago)
Author:
msteinbi
Message:

corrected job state handling (#466)

Location:
trunk/sources/HeuristicLab.Hive.Server.Core/3.2
Files:
2 edited

Legend:

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

    r1811 r1831  
    311311              curJob.State = State.requestSnapshotSent;
    312312            }
    313             jobAdapter.Update(curJob);
    314313          }
     314          jobAdapter.Update(curJob);
    315315        }
    316316        foreach (Job currJob in jobsOfClient) {
  • trunk/sources/HeuristicLab.Hive.Server.Core/3.2/JobManager.cs

    r1811 r1831  
    265265
    266266        Job job = jobAdapter.GetById(jobId);
    267         if (job.State == State.requestSnapshot) {
     267        if (job.State == State.requestSnapshot || job.State == State.requestSnapshotSent) {
    268268          response.Success = true;
    269269          response.StatusMessage = ApplicationConstants.RESPONSE_JOB_REQUEST_ALLREADY_SET;
Note: See TracChangeset for help on using the changeset viewer.