follow 3 redirects for federation requests instead of 2

just in case

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-21 23:19:41 -04:00 committed by June
parent 33dfa64963
commit 90b8ac0c64

View file

@ -180,7 +180,7 @@ impl Client {
.timeout(Duration::from_secs(config.federation_timeout)) .timeout(Duration::from_secs(config.federation_timeout))
.pool_max_idle_per_host(config.federation_idle_per_host.into()) .pool_max_idle_per_host(config.federation_idle_per_host.into())
.pool_idle_timeout(Duration::from_secs(config.federation_idle_timeout)) .pool_idle_timeout(Duration::from_secs(config.federation_idle_timeout))
.redirect(redirect::Policy::limited(2)) .redirect(redirect::Policy::limited(3))
.build() .build()
.unwrap(), .unwrap(),