all: Fix various user-facing and non-user-facing typos (#8509)
Found via `codespell -q 3 -S lang,./gui/default/vendor -L benchs,bu,inflight,ro`
This commit is contained in:
@@ -399,7 +399,7 @@ func (a *aggregator) popOldEventsTo(to map[string]*aggregatedEvent, dir *eventDi
|
||||
|
||||
func (a *aggregator) isOld(ev *aggregatedEvent, currTime time.Time, delayRem bool) bool {
|
||||
// Deletes should in general be scanned last, therefore they are delayed by
|
||||
// letting them time out. This behaviour is overriden by delayRem == false.
|
||||
// letting them time out. This behaviour is overridden by delayRem == false.
|
||||
// Refer to following comments as to why.
|
||||
// An event that has not registered any new modifications recently is scanned.
|
||||
// a.notifyDelay is the user facing value signifying the normal delay between
|
||||
@@ -413,7 +413,7 @@ func (a *aggregator) isOld(ev *aggregatedEvent, currTime time.Time, delayRem boo
|
||||
// is delayed to reduce resource usage, but after a certain time (notifyTimeout)
|
||||
// passed it is scanned anyway.
|
||||
// If only removals are remaining to be scanned, there is no point to delay
|
||||
// removals further, so this behaviour is overriden by delayRem == false.
|
||||
// removals further, so this behaviour is overridden by delayRem == false.
|
||||
return currTime.Sub(ev.firstModTime) > a.notifyTimeout
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user