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

Method newInhibitedDispatch

coderd/notifications/notifier.go:357–365  ·  view source on GitHub ↗
(msg database.AcquireNotificationMessagesRow)

Source from the content-addressed store, hash-verified

355}
356
357func (n *notifier) newInhibitedDispatch(msg database.AcquireNotificationMessagesRow) dispatchResult {
358 return dispatchResult{
359 notifier: n.id,
360 msg: msg.ID,
361 ts: dbtime.Time(n.clock.Now().UTC()),
362 retryable: false,
363 inhibited: true,
364 }
365}
366
367// stop stops the notifier from processing any new notifications.
368// This is a graceful stop, so any in-flight notifications will be completed before the notifier stops.

Callers 1

processMethod · 0.95

Calls 1

TimeFunction · 0.92

Tested by

no test coverage detected