MCPcopy Create free account
hub / github.com/acl-dev/acl / set_timeout

Method set_timeout

lib_acl_cpp/src/session/memcache_session.cpp:85–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85bool memcache_session::set_timeout(time_t ttl)
86{
87 const char* sid = get_sid();
88 if (sid == NULL || * sid == 0) {
89 return false;
90 }
91
92 return cache_->set(sid, ttl);
93}
94
95} // namespace acl
96

Callers 1

memcache_sessionMethod · 0.45

Calls 2

get_sidFunction · 0.50
setMethod · 0.45

Tested by

no test coverage detected