mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
Reduce number of synchronizations GODT-313
* [x] expononential cooldown of retries * [x] do not trigger sync by counts * [x] randomization of event poll interval
This commit is contained in:
@ -359,7 +359,7 @@ func migratePreferencesFromC10(cfg *config.Config) {
|
||||
return
|
||||
}
|
||||
|
||||
err = ioutil.WriteFile(pref11Path, data, 0644)
|
||||
err = ioutil.WriteFile(pref11Path, data, 0644) //nolint[gosec]
|
||||
if err != nil {
|
||||
log.WithError(err).Error("Problem to migrate preferences")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user