Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/trafficserver
/ setCacheSize
Method
setCacheSize
plugins/slice/Config.cc:349–357 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
347
}
348
349
void
350
Config::setCacheSize(size_t entries)
351
{
352
if (entries == 0) {
353
m_oscache.reset();
354
} else {
355
m_oscache.emplace(entries);
356
}
357
}
358
359
bool
360
Config::isKnownLargeObj(std::string_view url)
Callers
nothing calls this directly
Calls
2
emplace
Method · 0.80
reset
Method · 0.45
Tested by
no test coverage detected