Increase update-for-changes delay to 250ms

This commit is contained in:
Dianne Skoll
2024-12-11 10:25:45 -05:00
parent 54f284c43f
commit 71db7168a1

View File

@@ -3668,14 +3668,14 @@ proc UpdateForChanges {} {
RestartBackgroundRemindDaemon
}
# Schedule an update for 100ms in the future.
# Schedule an update for 250ms in the future.
# That way, if we get a rapid succession of
# change notifications, we (probably) only
# end up doing one call to UpdateForChanges
proc ScheduleUpdateForChanges {} {
global TimerUpdateForChanges
catch { after cancel $TimerUpdateForChanges }
set TimerUpdateForChanges [after 100 UpdateForChanges]
set TimerUpdateForChanges [after 250 UpdateForChanges]
}
#***********************************************************************