MCPcopy
hub / github.com/redis/go-redis / Stop

Method Stop

example/del-keys-without-ttl/main.go:103–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101}
102
103func (c *KeyChecker) Stop() int {
104 close(c.ch)
105 c.wg.Wait()
106 return c.deleted
107}
108
109func (c *KeyChecker) checkKeys(ctx context.Context, keys []string) error {
110 cmds, err := c.rdb.Pipelined(ctx, func(pipe redis.Pipeliner) error {

Callers 1

mainFunction · 0.95

Calls 1

WaitMethod · 0.80

Tested by

no test coverage detected