MCPcopy Create free account
hub / github.com/RedisGears/RedisGears / Python_UnlinkSession

Function Python_UnlinkSession

plugins/python/redisgears_python.c:7468–7474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7466}
7467
7468static void Python_UnlinkSession(const char* sessionId) {
7469 PythonSessionCtx* s = PythonSessionCtx_Get(sessionId);
7470 if (s) {
7471 PythonSessionCtx_Unlink(s);
7472 PythonSessionCtx_Free(s);
7473 }
7474}
7475
7476static void Python_Info(RedisModuleInfoCtx *ctx, int for_crash_report) {
7477 if (RedisModule_InfoAddSection(ctx, "python_stats") == REDISMODULE_OK) {

Callers

nothing calls this directly

Calls 3

PythonSessionCtx_GetFunction · 0.85
PythonSessionCtx_UnlinkFunction · 0.85
PythonSessionCtx_FreeFunction · 0.85

Tested by

no test coverage detected