Debounce thread preferences on leading edge, reduce to 2s (#9851)
* debounce on leading edge, reduce to 2s* flush debounce on leave screen* simplify by using useMutation properly
authored by samuel.fm and committed by GitHub 1 month ago a25bc8f2 177a6e50