MCPcopy Create free account
hub / github.com/coder/coder / reset

Method reset

enterprise/coderd/x/chatd/chatd.go:672–675  ·  view source on GitHub ↗

reset returns the state to the floor delay and zero attempts. Called after a successful dial or a relay target change.

()

Source from the content-addressed store, hash-verified

670// reset returns the state to the floor delay and zero attempts.
671// Called after a successful dial or a relay target change.
672func (s *relayRetryState) reset() {
673 s.retrier.Reset()
674 s.attempts = 0
675}
676
677// dialRelay opens a WebSocket to the replica owning chatID and
678// returns any buffered message_part snapshot plus a live channel of

Callers 1

Calls 1

ResetMethod · 0.65

Tested by

no test coverage detected