follow 3 redirects for federation requests instead of 2
just in case Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
33dfa64963
commit
90b8ac0c64
1 changed files with 1 additions and 1 deletions
|
@ -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(),
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue