Skip to content

Commit 015bdbd

Browse files
committed
remove useless sleep
1 parent efe6b03 commit 015bdbd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

oar-scheduler-db/src/model/moldable.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,6 @@ impl AllJobMoldables {
120120
if jobs.is_empty() {
121121
return Ok(Self { moldables: HashMap::new() });
122122
}
123-
// Sleep 1s
124-
tokio::time::sleep(std::time::Duration::from_secs(1)).await;
125123
let moldables = Query::select()
126124
.columns(vec![
127125
MoldableJobDescriptions::Id.to_string(),

0 commit comments

Comments
 (0)