This seems to be needed.
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
aminecmi 2022-12-19 20:47:04 +01:00
parent 633b817d76
commit ae344fe9a5

View File

@ -47,7 +47,7 @@ class SelfossApi(private val appSettingsService: AppSettingsService) {
}
install(HttpCookies)
install(HttpRequestRetry) {
maxRetries = 1
maxRetries = 2
retryIf { _, response ->
response.status == HttpStatusCode.Forbidden && shouldHavePostLogin() && hasLoginInfo()
}