MCPcopy Create free account
hub / github.com/ElementsProject/elements / TableCacheSize

Function TableCacheSize

src/leveldb/db/db_impl.cc:122–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122static int TableCacheSize(const Options& sanitized_options) {
123 // Reserve ten files or so for other uses and give the rest to TableCache.
124 return sanitized_options.max_open_files - kNumNonTableCacheFiles;
125}
126
127DBImpl::DBImpl(const Options& raw_options, const std::string& dbname)
128 : env_(raw_options.env),

Callers 1

DBImplMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected