Skip to content

Commit

Permalink
Merge branch 'main' of github.com:WBOR-91-1-FM/wbor-studio-dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
CaspianA1 committed Oct 15, 2024
2 parents 359e1aa + ba23006 commit 5bd7cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub fn build_url(base_url: &str, path_params: &[Cow<str>],
pub async fn get_with_maybe_header(url: &str, maybe_header: Option<(&str, &str)>) -> Response {
const DEFAULT_TIMEOUT: std::time::Duration = std::time::Duration::from_secs(10);

let client = reqwest::Client::new();
let client = reqwest::Client::new(); // TODO: figure out why client sharing results in a deadlock
let mut request_builder = client.get(url).timeout(DEFAULT_TIMEOUT);

if let Some(header) = maybe_header {
Expand Down

0 comments on commit 5bd7cdf

Please sign in to comment.