Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Increase idle VM timeout 10sec -> 60sec #207

Merged
merged 1 commit into from
Aug 30, 2024
Merged
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
2 changes: 1 addition & 1 deletion crates/node/src/scheduler/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ use self::resource_manager::ResourceError;
pub use self::resource_manager::get_configured_resources;

// If VM doesn't have running task within `MAX_VM_IDLE_RUN_TIME`, it will be terminated.
const MAX_VM_IDLE_RUN_TIME: Duration = Duration::from_secs(10);
const MAX_VM_IDLE_RUN_TIME: Duration = Duration::from_secs(60);
// MAX_VM_RUN_TIME is the maximum time a VM can run no matter what.
// The proof must be generated within this time limit.
const MAX_VM_RUN_TIME: Duration = Duration::from_secs(1800);
Expand Down
Loading