fix: Increase background and primary color debounce time

This prevent flooding the server with requests

Signed-off-by: Louis Chemineau <louis@chmn.me>
pull/50531/head
Louis Chemineau 2025-01-28 14:34:00 +07:00 committed by Andy Scherzinger
parent ef0d2eae31
commit ed04204de2
2 changed files with 2 additions and 2 deletions

@ -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'))

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