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

Function init_lpush

monkey/monkey.py:234–246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

232 handle_lpush_response(clients[-1])
233
234def init_lpush():
235 global clients
236 for i in range(numclients):
237 clients.append(Client('127.0.0.1', 6379))
238 for i in range (10):
239 handle_lpush_response(clients[-1])
240 #handle_set_response(clients[-1], None)
241
242 scan_client = Client('127.0.0.1', 6379)
243 scan_client.scan(0, count=500, callback=scan_callback)
244
245 del_client = Client('127.0.0.1', 6379)
246 handle_del_response(del_client)
247
248def main(test, flush):
249 clear_ops()

Callers

nothing calls this directly

Calls 5

scanMethod · 0.95
ClientClass · 0.85
handle_lpush_responseFunction · 0.85
handle_del_responseFunction · 0.85
appendMethod · 0.80

Tested by

no test coverage detected