Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Snapchat/KeyDB
/ clear_ops
Function
clear_ops
monkey/monkey.py:201–203 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
199
ops[
'scan'
] += 1
200
201
def
clear_ops():
202
global ops
203
ops = {
'lpush'
: 0,
'blpop'
: 0,
'del'
: 0,
'scan'
: 0,
'set'
: 0,
'get'
: 0}
204
205
def
stats_thread():
206
global ops
Callers
2
stats_thread
Function · 0.85
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected