Skip to content

Commit

Permalink
Remove old scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
vertexclique committed Nov 5, 2019
1 parent 7e9a938 commit c4cd383
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions bastion-executor/src/worker.rs
Expand Up @@ -123,19 +123,6 @@ fn affine_steal(pool: &Pool, local: &Worker<LightProc>) -> Option<LightProc> {
})
})
})

/////
// let stealer = pool.stealers.get(affine_core).unwrap();
//
// if let Some(amount) = stealer.run_queue_size().checked_sub(stats.mean_level) {
// if let Some(possible) = amount.checked_sub(1) {
// stealer.steal_batch_and_pop_with_amount(local, possible).success()
// } else {
// pool.injector.steal_batch_and_pop(local).success()
// }
// } else {
// pool.injector.steal_batch_and_pop(local).success()
// }
},
Err(_) => {
pool.injector.steal_batch_and_pop(local).success()
Expand Down

0 comments on commit c4cd383

Please sign in to comment.