Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/brpc
/ reset_session
Method
reset_session
src/brpc/redis.cpp:388–393 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
386
}
387
388
void RedisConnContext::reset_session(Destroyable* s){
389
if (session) {
390
session->Destroy();
391
}
392
session = s;
393
}
394
395
} // namespace brpc
Callers
3
Run
Method · 0.80
Run
Method · 0.80
GetOrCreateSession
Function · 0.80
Calls
1
Destroy
Method · 0.45
Tested by
2
Run
Method · 0.64
GetOrCreateSession
Function · 0.64