MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / pexpireMemberAtCommand

Function pexpireMemberAtCommand

src/expire.cpp:275–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275void pexpireMemberAtCommand(client *c)
276{
277 long long when;
278 if (getLongLongFromObjectOrReply(c, c->argv[3], &when, NULL) != C_OK)
279 return;
280
281 expireMemberCore(c, c->argv[1], c->argv[2], 0, when, UNIT_MILLISECONDS);
282}
283
284/* Try to expire a few timed out keys. The algorithm used is adaptive and
285 * will use few CPU cycles if there are few expiring keys, otherwise

Callers

nothing calls this directly

Calls 2

expireMemberCoreFunction · 0.85

Tested by

no test coverage detected