MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / removeSubscriber

Method removeSubscriber

dgraph/cmd/zero/oracle.go:176–180  ·  view source on GitHub ↗
(id int)

Source from the content-addressed store, hash-verified

174}
175
176func (o *Oracle) removeSubscriber(id int) {
177 o.Lock()
178 defer o.Unlock()
179 delete(o.subscribers, id)
180}
181
182// sendDeltasToSubscribers reads updates from the o.updates
183// constructs a delta object containing transactions from one or more updates

Callers 1

OracleMethod · 0.80

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45

Tested by

no test coverage detected