time out tasks after 60s
This commit is contained in:
parent
01d8002393
commit
2007085fc0
@ -171,7 +171,11 @@ fn main() -> anyhow::Result<()> {
|
||||
let registry = tracing_subscriber::registry();
|
||||
|
||||
#[cfg(feature = "tokio_console")]
|
||||
let registry = registry.with(console_subscriber::spawn());
|
||||
let registry = registry.with(
|
||||
console_subscriber::ConsoleLayer::builder()
|
||||
.retention(Duration::from_secs(60))
|
||||
.init(),
|
||||
);
|
||||
|
||||
registry
|
||||
.with(
|
||||
|
Loading…
Reference in New Issue
Block a user