MCPcopy Create free account
hub / github.com/F-Stack/f-stack / RM__Assert

Function RM__Assert

app/redis-6.2.6/src/module.c:5184–5186  ·  view source on GitHub ↗

Redis-like assert function. * * The macro `RedisModule_Assert(expression)` is recommended, rather than * calling this function directly. * * A failed assertion will shut down the server and produce logging information * that looks identical to information generated by Redis itself. */

Source from the content-addressed store, hash-verified

5182 * that looks identical to information generated by Redis itself.
5183 */
5184void RM__Assert(const char *estr, const char *file, int line) {
5185 _serverAssert(estr, file, line);
5186}
5187
5188/* Allows adding event to the latency monitor to be observed by the LATENCY
5189 * command. The call is skipped if the latency is smaller than the configured

Callers

nothing calls this directly

Calls 1

_serverAssertFunction · 0.70

Tested by

no test coverage detected