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

Method PublishUpdate

enterprise/replicasync/replicasync.go:141–143  ·  view source on GitHub ↗

PublishUpdate notifies all other replicas to update.

()

Source from the content-addressed store, hash-verified

139
140// PublishUpdate notifies all other replicas to update.
141func (m *Manager) PublishUpdate() error {
142 return m.pubsub.Publish(PubsubEvent, []byte(m.id.String()))
143}
144
145// updateInterval is used to determine a replicas state.
146// If the replica was updated > the time, it's considered healthy.

Calls 2

PublishMethod · 0.65
StringMethod · 0.45