Changeset 2066 for trunk/sources/HeuristicLab.Hive.Server.Scheduler
- Timestamp:
- 06/19/09 13:05:47 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Scheduler/3.2/DefaultScheduler.cs
r1530 r2066 30 30 session.GetDataAdapter<Job, IJobAdapter>(); 31 31 32 List<Job> allOfflineJobsForClient = new List<Job>(jobAdapter.FindJobs(State.offline, hbData.FreeCores, hbData.FreeMemory)); 32 List<Job> allOfflineJobsForClient = new List<Job>( 33 jobAdapter.FindJobs(State.offline, 34 hbData.FreeCores, 35 hbData.FreeMemory, 36 hbData.ClientId)); 33 37 return (allOfflineJobsForClient != null && allOfflineJobsForClient.Count > 0); 34 38 } … … 53 57 54 58 ClientInfo client = clientAdapter.GetById(clientId); 55 LinkedList<Job> allOfflineJobsForClient = new LinkedList<Job>(jobAdapter.FindJobs(State.offline, client.NrOfFreeCores, client.FreeMemory )); 59 LinkedList<Job> allOfflineJobsForClient = new LinkedList<Job>( 60 jobAdapter.FindJobs(State.offline, 61 client.NrOfFreeCores, 62 client.FreeMemory, 63 client.Id)); 56 64 57 65 Job jobToCalculate = null;
Note: See TracChangeset
for help on using the changeset viewer.