Skip to content

Commit

Permalink
fix(dashboard): 🐛 Fix dashboard freezing on shutdown (#2730)
Browse files Browse the repository at this point in the history
  • Loading branch information
zmerp authored Feb 26, 2025
1 parent a72048f commit f42d6ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alvr/dashboard/src/data_sources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ impl DataSources {
move || {
let uri = format!("http://127.0.0.1:{port}/api/dashboard-request");
let request_agent: ureq::Agent = ureq::Agent::config_builder()
.timeout_connect(Some(REQUEST_TIMEOUT))
.timeout_global(Some(REQUEST_TIMEOUT))
.build()
.into();

Expand Down Expand Up @@ -288,7 +288,7 @@ impl DataSources {
let uri = format!("http://127.0.0.1:{port}/api/version");

let request_agent: ureq::Agent = ureq::Agent::config_builder()
.timeout_connect(Some(REQUEST_TIMEOUT))
.timeout_global(Some(REQUEST_TIMEOUT))
.build()
.into();

Expand Down

0 comments on commit f42d6ff

Please sign in to comment.