Compare commits
1 Commits
v122123522
...
v122123531
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eb2876324a |
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user