Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions svc/pkg/ds/ops/server-create/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -805,11 +805,6 @@ pub async fn handle(
]),
..TaskGroup::new()
}]),
// Disables migrating in the event of a node drain
migrate: Some(Box::new(MigrateStrategy {
max_parallel: Some(0),
..MigrateStrategy::new()
})),
// Disables rescheduling in the event of a node drain
reschedule: Some(Box::new(ReschedulePolicy {
attempts: Some(0),
Expand Down
5 changes: 0 additions & 5 deletions svc/pkg/faker/ops/job-template/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ fn gen_job(
tasks: Some(vec![task]),
..TaskGroup::new()
}]),
// Disables migrating in the event of a node drain
migrate: Some(Box::new(MigrateStrategy {
max_parallel: Some(0),
..MigrateStrategy::new()
})),
// Disables rescheduling in the event of a node drain
reschedule: Some(Box::new(ReschedulePolicy {
attempts: Some(0),
Expand Down
5 changes: 0 additions & 5 deletions svc/pkg/job-run/worker/src/workers/create/create_job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,11 +369,6 @@ mod tests {
}]),
..TaskGroup::new()
}]),
// Disables migrating in the event of a node drain
migrate: Some(Box::new(MigrateStrategy {
max_parallel: Some(0),
..MigrateStrategy::new()
})),
// Disables rescheduling in the event of a node drain
reschedule: Some(Box::new(ReschedulePolicy {
attempts: Some(0),
Expand Down
5 changes: 0 additions & 5 deletions svc/pkg/mm-config/ops/version-prepare/src/prewarm_ats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,11 +178,6 @@ fn gen_prewarm_job(artifact_count: usize) -> GlobalResult<nomad_client::models::
}]),
..TaskGroup::new()
}]),
// Disables migrating in the event of a node drain
migrate: Some(Box::new(MigrateStrategy {
max_parallel: Some(0),
..MigrateStrategy::new()
})),
// Disables rescheduling in the event of a node drain
reschedule: Some(Box::new(ReschedulePolicy {
attempts: Some(0),
Expand Down
5 changes: 0 additions & 5 deletions svc/pkg/mm/worker/src/workers/lobby_create/nomad_job.rs
Original file line number Diff line number Diff line change
Expand Up @@ -576,11 +576,6 @@ pub fn gen_lobby_docker_job(
]),
..TaskGroup::new()
}]),
// Disables migrating in the event of a node drain
migrate: Some(Box::new(MigrateStrategy {
max_parallel: Some(0),
..MigrateStrategy::new()
})),
// Disables rescheduling in the event of a node drain
reschedule: Some(Box::new(ReschedulePolicy {
attempts: Some(0),
Expand Down