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

Method stop

sqlchain/mirror/service.go:227–237  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

225}
226
227func (s *Service) stop() {
228 if s.stopCh != nil {
229 select {
230 case <-s.stopCh:
231 default:
232 close(s.stopCh)
233 }
234 }
235 s.server.Stop()
236 s.wg.Wait()
237}
238
239// Query mocks DBS.Query for mirrored database.
240func (s *Service) Query(req *types.Request, res *types.Response) (err error) {

Callers 1

StopMirrorFunction · 0.45

Calls 2

WaitMethod · 0.80
StopMethod · 0.45

Tested by

no test coverage detected