summaryrefslogtreecommitdiffhomepage
path: root/android/scripts
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2023-02-08 11:35:04 +0100
committerAndrej Mihajlov <and@mullvad.net>2023-02-10 11:42:14 +0100
commit36b3c9691d24bdc2e8d1064b3677bdfbace176c2 (patch)
treea15c589fb050786b46b99445ebd7bec53e6cef42 /android/scripts
parenta161c19e9b75fe0f89d9f49ce8a325a0e7b44fad (diff)
downloadmullvadvpn-36b3c9691d24bdc2e8d1064b3677bdfbace176c2.tar.xz
mullvadvpn-36b3c9691d24bdc2e8d1064b3677bdfbace176c2.zip
Disable retry strategy for access tokens
Requests that require authorization already implement their own retry strategy. Hence access token requests should be a part of that strategy and not behave as each having their individual strategy. Previously a request requiring authentication configured with 3 retry attempts would perform 9 calls (3 * 3) to obtain access token in the worst case. That's because each individual request to obtain access token was configured with default retry strategy (3 retry attempts). With this change exactly 3 attempts will be made.
Diffstat (limited to 'android/scripts')
0 files changed, 0 insertions, 0 deletions