Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LMCache/LMCache
/ stop_loop
Method
stop_loop
benchmarks/rag/utils.py:113–115 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
111
assert cls._thread is not None,
"Thread is not started"
112
113
def
stop_loop():
114
cls._logger.debug(
"Stopping the loop!"
)
115
cls._loop.stop()
116
117
cls._logger.info(
"Waiting for remaining tasks to finish"
)
118
cls.WaitLoop()
Callers
nothing calls this directly
Calls
2
debug
Method · 0.80
stop
Method · 0.45
Tested by
no test coverage detected