MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / Stop

Method Stop

cmd/cqld/adapter.go:230–235  ·  view source on GitHub ↗

Stop stops the dht node server and wait for inflight gossip requests.

()

Source from the content-addressed store, hash-verified

228
229// Stop stops the dht node server and wait for inflight gossip requests.
230func (s *KVServer) Stop() {
231 if s.cancelCtx != nil {
232 s.cancelCtx()
233 }
234 s.wg.Wait()
235}
236
237func (s *KVServer) nonBlockingSync(node *proto.Node, origin proto.NodeID, ttl uint32) {
238 if s.peers == nil {

Callers 6

runNodeFunction · 0.95
WaitBPDatabaseCreationFunction · 0.45
WaitTxConfirmationFunction · 0.45
initNodeFunction · 0.45
nonceGenFunction · 0.45
runRPCFunction · 0.45

Calls 1

WaitMethod · 0.80

Tested by 1

initNodeFunction · 0.36