Skip to content

Commit

Permalink
fix: reduce debounce time for saving app settings from 1500ms to 500ms
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayideyia committed Jan 19, 2025
1 parent 8a29c27 commit c828b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/stores/appSettings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export const useAppSettingsStore = defineStore('app-settings', () => {

const saveAppSettings = debounce((config: string) => {
Writefile('data/user.yaml', config)
}, 1500)
}, 500)

const setupAppSettings = async () => {
const data = await ignoredError(Readfile, 'data/user.yaml')
Expand Down

0 comments on commit c828b01

Please sign in to comment.