We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1015c54 commit 61ac10cCopy full SHA for 61ac10c
1 file changed
src/main.rs
@@ -5,6 +5,7 @@ use error::Error;
5
use rest::error::{RestApiError, RestApiErrorCode};
6
mod error;
7
use std::env;
8
+use std::time::Duration;
9
use tracing_subscriber::fmt::Layer;
10
use tracing_subscriber::prelude::__tracing_subscriber_SubscriberExt;
11
use tracing_subscriber::util::SubscriberInitExt;
@@ -175,6 +176,7 @@ async fn main() -> Result<()> {
175
176
.service(scope("dashboard").service(rest::v4::dashboard::get)),
177
)
178
})
179
+ .client_request_timeout(Duration::from_millis(0))
180
.bind(("127.0.0.1", 8000))?
181
.run()
182
.await?;
0 commit comments