Skip to content
Snippets Groups Projects
Commit 90b8ac0c authored by 🥺's avatar 🥺 :transgender_flag: Committed by 🥺
Browse files

follow 3 redirects for federation requests instead of 2


just in case

Signed-off-by: default avatarstrawberry <strawberry@puppygock.gay>
parent 33dfa649
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,7 @@ pub fn new(config: &Config, tls_name_override: &Arc<StdRwLock<TlsNameMap>>) -> C
.timeout(Duration::from_secs(config.federation_timeout))
.pool_max_idle_per_host(config.federation_idle_per_host.into())
.pool_idle_timeout(Duration::from_secs(config.federation_idle_timeout))
.redirect(redirect::Policy::limited(2))
.redirect(redirect::Policy::limited(3))
.build()
.unwrap(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment