MCPcopy Create free account
hub / github.com/facebook/time / Stop

Method Stop

ntp/responder/server/server.go:140–145  ·  view source on GitHub ↗

Stop will stop announcement, delete IPs from interfaces

()

Source from the content-addressed store, hash-verified

138 return
139 case <-time.After(announceInterval):
140 if !s.refreshAnnounce() {
141 return
142 }
143 }
144 }
145}
146
147// refreshAnnounce re-advertises the VIPs and publishes the outcome as the
148// announce gauge. It returns false once Stop has begun: re-advertising would

Callers 7

mainFunction · 0.95
runPollFunction · 0.45
sleepFunction · 0.45
computeRatesMethod · 0.45
populateDataV2Method · 0.45
RunMethod · 0.45

Calls 2

DeleteAllIPsMethod · 0.95
WithdrawMethod · 0.65

Tested by

no test coverage detected