fix: Increase background and primary color debounce time

This prevent flooding the server with requests

Signed-off-by: Louis Chemineau <louis@chmn.me>
This commit is contained in:
Louis Chemineau 2025-01-28 14:34:00 +01:00 committed by Louis
parent 271552d70d
commit 1a0fdaa01b
2 changed files with 2 additions and 2 deletions

View file

@ -234,7 +234,7 @@ export default {
debouncePickColor: debounce(function(...args) {
this.pickColor(...args)
}, 200),
}, 1000),
pickFile() {
const picker = getFilePickerBuilder(t('theming', 'Select a background from your files'))

View file

@ -69,7 +69,7 @@ export default defineComponent({
},
debouncedOnUpdate() {
return debounce(this.onUpdate, 500)
return debounce(this.onUpdate, 1000)
},
},