Skip to content

Commit

Permalink
fix: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
atanmarko committed Nov 1, 2024
1 parent 532f78b commit a9181dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions paladin-core/src/runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,7 @@ impl WorkerRuntime {
let mut task_stream = self.get_task_receiver().await?;

const TERMINATION_CLEAR_INTERVAL: Duration = Duration::from_secs(60);
// Give some time to executed tasks to gracefully finish
const ABORT_SIGNAL_SHUTDOWN_INTERVAL: Duration = Duration::from_secs(10);
// Keep track of terminated jobs to avoid processing new tasks associated to
// them.
Expand Down

0 comments on commit a9181dc

Please sign in to comment.