[#418] improved retry logic to prevent loading loop (#427)

* [#418] improved retry logic to prevent loading loop

* [#418] added FullJitter algorithm

Co-authored-by: Benoit TELLIER <btellier@linagora.com>
This commit is contained in:
Camille Moussu
2025-12-19 12:24:34 +01:00
committed by GitHub
parent 90d6058b0f
commit 6839353f34
5 changed files with 70 additions and 9 deletions
+4
View File
@@ -86,6 +86,9 @@ export const userSlice = createSlice({
setAlarmEmails: (state, action) => {
state.alarmEmailsEnabled = action.payload;
},
setUserError: (state, action) => {
state.error = action.payload;
},
clearError: (state) => {
state.error = null;
},
@@ -218,6 +221,7 @@ export const {
setLanguage,
setTimezone,
setAlarmEmails,
setUserError,
clearError,
} = userSlice.actions;