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

Method addSubexpireKey

src/rdb.cpp:2708–2711  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2706 std::vector<std::pair<robj_sharedptr, long long>> vecsubexpires;
2707
2708 void addSubexpireKey(robj *subkey, long long when) {
2709 vecsubexpires.push_back(std::make_pair(robj_sharedptr(subkey), when));
2710 decrRefCount(subkey);
2711 }
2712
2713 rdbInsertJob()
2714 : JobBase(JobBase::JobType::Insert)

Callers 1

rdbLoadRioFunction · 0.80

Calls 2

robj_sharedptrClass · 0.85
decrRefCountFunction · 0.85

Tested by

no test coverage detected