diff --git a/web3_proxy_cli/src/sub_commands/proxyd.rs b/web3_proxy_cli/src/sub_commands/proxyd.rs index 85741147..579f57e7 100644 --- a/web3_proxy_cli/src/sub_commands/proxyd.rs +++ b/web3_proxy_cli/src/sub_commands/proxyd.rs @@ -107,6 +107,9 @@ impl ProxydSubCommand { // TODO: move this to a helper function thread::spawn(move || loop { + // give the app some time to start before changing configs for the first time + thread::sleep(Duration::from_secs(60)); + match fs::read_to_string(&top_config_path) { Ok(new_top_config) => { match toml::from_str::(&new_top_config) {