start tracing later
This commit is contained in:
parent
6f1e9836c0
commit
eb2f66a7b6
@ -310,8 +310,6 @@ fn main() -> eyre::Result<()> {
|
|||||||
.set(time::UtcOffset::current_local_offset()?)
|
.set(time::UtcOffset::current_local_offset()?)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
setup_tracing(&config);
|
|
||||||
|
|
||||||
assert!(!config.allowed_ports.is_empty(), "no allowed ports");
|
assert!(!config.allowed_ports.is_empty(), "no allowed ports");
|
||||||
|
|
||||||
tokio::runtime::Builder::new_multi_thread()
|
tokio::runtime::Builder::new_multi_thread()
|
||||||
@ -321,6 +319,8 @@ fn main() -> eyre::Result<()> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async fn tokio_main(config: Arc<Config>) -> eyre::Result<()> {
|
async fn tokio_main(config: Arc<Config>) -> eyre::Result<()> {
|
||||||
|
setup_tracing(&config);
|
||||||
|
|
||||||
let cache_path = PathBuf::from("cache.json");
|
let cache_path = PathBuf::from("cache.json");
|
||||||
|
|
||||||
let (change_sender, change_receiver) = tokio::sync::watch::channel(Instant::now());
|
let (change_sender, change_receiver) = tokio::sync::watch::channel(Instant::now());
|
||||||
|
Loading…
Reference in New Issue
Block a user