Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
85
bool 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_session
Method · 0.45
Calls
2
get_sid
Function · 0.50
set
Method · 0.45
Tested by
no test coverage detected