mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 23:08:40 +02:00
Increase update-for-changes delay to 250ms
This commit is contained in:
@@ -3668,14 +3668,14 @@ proc UpdateForChanges {} {
|
|||||||
RestartBackgroundRemindDaemon
|
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
|
# That way, if we get a rapid succession of
|
||||||
# change notifications, we (probably) only
|
# change notifications, we (probably) only
|
||||||
# end up doing one call to UpdateForChanges
|
# end up doing one call to UpdateForChanges
|
||||||
proc ScheduleUpdateForChanges {} {
|
proc ScheduleUpdateForChanges {} {
|
||||||
global TimerUpdateForChanges
|
global TimerUpdateForChanges
|
||||||
catch { after cancel $TimerUpdateForChanges }
|
catch { after cancel $TimerUpdateForChanges }
|
||||||
set TimerUpdateForChanges [after 100 UpdateForChanges]
|
set TimerUpdateForChanges [after 250 UpdateForChanges]
|
||||||
}
|
}
|
||||||
|
|
||||||
#***********************************************************************
|
#***********************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user