From 53edc87f278decc1c87fd8365714696ab64213bc Mon Sep 17 00:00:00 2001 From: Fred Lotter Date: Fri, 16 Aug 2024 13:10:36 +0200 Subject: [PATCH] tweaks --- internals/overlord/overlord.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internals/overlord/overlord.go b/internals/overlord/overlord.go index 4306bdb7..b6f45885 100644 --- a/internals/overlord/overlord.go +++ b/internals/overlord/overlord.go @@ -365,14 +365,14 @@ func (o *Overlord) ensureBefore(d time.Duration) { // the past, let's reschedule the ensure to happen right now. if o.ensureNext.Before(now) { // We have to know if the timer already expired. If this is true then - // it means a channel write was already dispatched, and no further action - // is required. The overlord loop will ensure soon after this: + // it means a channel write has already taken place, and no further + // action is required. The overlord loop will ensure soon after this: // // https://go.dev/wiki/Go123Timer: // < Go 1.23: buffered channel (overlord loop may not have observed yet) // >= Go 1.23: unbuffered channel (overlord loop already observed) // - // In both these cases, the overlord loop reset will still take place. + // In both these cases, the overlord loop ensure will still take place. if !o.ensureTimer.Stop() { return }