parent
3b9c04a9e2
commit
f73fd66b89
|
@ -585,6 +585,7 @@ impl App {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: add a min time between config changes
|
||||||
yield_now().await;
|
yield_now().await;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -161,10 +161,7 @@ impl ProxydSubCommand {
|
||||||
// give 30 seconds for the db to connect. if it does not connect, it will keep retrying
|
// give 30 seconds for the db to connect. if it does not connect, it will keep retrying
|
||||||
}
|
}
|
||||||
|
|
||||||
info!("waiting 30 seconds for warm up");
|
info!("waiting up to 30 seconds for a head block");
|
||||||
sleep(Duration::from_secs(30)).await;
|
|
||||||
|
|
||||||
info!("waiting up to 30 more seconds for a head block");
|
|
||||||
let max_wait_until = Instant::now() + Duration::from_secs(30);
|
let max_wait_until = Instant::now() + Duration::from_secs(30);
|
||||||
loop {
|
loop {
|
||||||
select! {
|
select! {
|
||||||
|
|
Loading…
Reference in New Issue