mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-08-12 22:19:08 +00:00
Added config option for icon download timeout
This commit is contained in:
parent
ff2fbd322e
commit
3b27dbb0aa
3 changed files with 8 additions and 1 deletions
|
@ -26,7 +26,7 @@ lazy_static! {
|
|||
// Reuse the client between requests
|
||||
static ref CLIENT: Client = Client::builder()
|
||||
.gzip(true)
|
||||
.timeout(Duration::from_secs(5))
|
||||
.timeout(Duration::from_secs(CONFIG.icon_download_timeout()))
|
||||
.default_headers(_header_map())
|
||||
.build()
|
||||
.unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue