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

Function PublisherWithInitialDelay

enterprise/coderd/usage/publisher.go:119–123  ·  view source on GitHub ↗

PublisherWithInitialDelay sets the initial delay for the publisher.

(initialDelay time.Duration)

Source from the content-addressed store, hash-verified

117
118// PublisherWithInitialDelay sets the initial delay for the publisher.
119func PublisherWithInitialDelay(initialDelay time.Duration) TallymanPublisherOption {
120 return func(p *tallymanPublisher) {
121 p.initialDelay = initialDelay
122 }
123}
124
125// Start implements Publisher.
126func (p *tallymanPublisher) Start() error {

Callers 1

TestPublisherClaimExpiryFunction · 0.92

Calls

no outgoing calls

Tested by 1

TestPublisherClaimExpiryFunction · 0.74