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

Function expireCommand

src/expire.cpp:786–788  ·  view source on GitHub ↗

EXPIRE key seconds */

Source from the content-addressed store, hash-verified

784
785/* EXPIRE key seconds */
786void expireCommand(client *c) {
787 expireGenericCommand(c,mstime(),UNIT_SECONDS);
788}
789
790/* EXPIREAT key time */
791void expireatCommand(client *c) {

Callers

nothing calls this directly

Calls 2

expireGenericCommandFunction · 0.85
mstimeFunction · 0.70

Tested by

no test coverage detected