diff --git a/enterprise/tailnet/pgcoord.go b/enterprise/tailnet/pgcoord.go index 5b91361ae2c18..62cc5a240cd98 100644 --- a/enterprise/tailnet/pgcoord.go +++ b/enterprise/tailnet/pgcoord.go @@ -1365,6 +1365,9 @@ func (h *heartbeats) sendBeats() { func (h *heartbeats) sendBeat() { _, err := h.store.UpsertTailnetCoordinator(h.ctx, h.self) + if xerrors.Is(err, context.Canceled) { + return + } if err != nil { h.logger.Error(h.ctx, "failed to send heartbeat", slog.Error(err)) h.failedHeartbeats++