regenerated proto files

Signed-off-by: Dmitri <dmitri.external@netbird.io>
This commit is contained in:
Dmitri
2026-06-11 12:03:46 +02:00
parent 42e0007f4a
commit 12a8943b99
19 changed files with 3413 additions and 7 deletions
+6 -2
View File
@@ -266,10 +266,14 @@ func (m *Manager) startRetries(ctx context.Context) {
case <-ctx.Done():
return
case <-ticker.C:
// TODO: grace period on retries to avoid early retries?
for _, e := range m.eventsWithoutAcks.GetEvents() {
if e.Timestamp.Add(time.Second).After(time.Now()) {
// grace period on retries to avoid early retries
// do not retry if the event is less than 1 sec old
continue
}
if err := m.send(e); err != nil {
ticker = time.NewTimer(retryBackoff.NextBackOff())
ticker = time.NewTimer(retryBackoff.NextBackOff()) //nolint:staticcheck
break
}
}