MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / _DeleteTelemetryStream

Function _DeleteTelemetryStream

src/graph/graphcontext.c:852–864  ·  view source on GitHub ↗

delete graph's telemetry stream

Source from the content-addressed store, hash-verified

850
851// delete graph's telemetry stream
852static void _DeleteTelemetryStream
853(
854 RedisModuleCtx *ctx, // redis module context
855 const GraphContext *gc // graph context
856) {
857 ASSERT(gc != NULL);
858 ASSERT(ctx != NULL);
859
860 RedisModuleKey *key = RedisModule_OpenKey(ctx, gc->telemetry_stream,
861 REDISMODULE_WRITE);
862 RedisModule_DeleteKey(key);
863 RedisModule_CloseKey(key);
864}
865
866// Free all data associated with graph
867static void _GraphContext_Free(void *arg) {

Callers 2

GraphContext_RenameFunction · 0.85
_GraphContext_FreeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected