MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / handle_del_response

Function handle_del_response

monkey/monkey.py:189–193  ·  view source on GitHub ↗
(c, resp=None)

Source from the content-addressed store, hash-verified

187 c.set("str_" + getrandomkey(), 'bardsklfjkldsjfdlsjflksdfjklsdjflksd kldsjflksd jlkdsjf lksdjklds jrfklsdjfklsdjfkl', handle_set_response)
188
189def handle_del_response(c, resp=None):
190 global ops
191 if resp != None:
192 ops['del'] += 1
193 c.delete("list_" + getrandomkey(), handle_del_response)
194
195def scan_callback(c, resp=None):
196 global ops

Callers 1

init_lpushFunction · 0.85

Calls 2

getrandomkeyFunction · 0.85
deleteMethod · 0.80

Tested by

no test coverage detected