Skip to content

Commit

Permalink
nit: update timeout comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaro00 committed Apr 24, 2024
1 parent cd2c7a8 commit 95c155b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions runtime/src/alpha.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,7 @@ where
// Ensure that the runtime is set to unhealthy if it doesn't reach the running state after
// it has sent a load response, so that the ECS task will fail.
tokio::spawn(async move {
// Note: The timeout is quite low as we are not actually provisioning resources after
// sending the load response.
// Note: The timeout is quite long since RDS can take a long time to provision.
tokio::time::sleep(Duration::from_secs(180)).await;
if !matches!(state.lock().unwrap().deref(), State::Running) {
println!("the runtime failed to enter the running state before timing out");
Expand Down

0 comments on commit 95c155b

Please sign in to comment.