MCPcopy Index your code
hub / github.com/coder/coder / UpdateNow

Method UpdateNow

enterprise/replicasync/replicasync.go:136–138  ·  view source on GitHub ↗

UpdateNow synchronously updates replicas.

(ctx context.Context)

Source from the content-addressed store, hash-verified

134
135// UpdateNow synchronously updates replicas.
136func (m *Manager) UpdateNow(ctx context.Context) error {
137 return m.syncReplicas(ctx)
138}
139
140// PublishUpdate notifies all other replicas to update.
141func (m *Manager) PublishUpdate() error {

Callers 2

Calls 1

syncReplicasMethod · 0.95

Tested by

no test coverage detected