MCPcopy 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
349void
350Config::setCacheSize(size_t entries)
351{
352 if (entries == 0) {
353 m_oscache.reset();
354 } else {
355 m_oscache.emplace(entries);
356 }
357}
358
359bool
360Config::isKnownLargeObj(std::string_view url)

Callers

nothing calls this directly

Calls 2

emplaceMethod · 0.80
resetMethod · 0.45

Tested by

no test coverage detected