mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-16 02:46:08 -04:00
Revert "Fix posdb3 cache entry limit calculation"
This reverts commit 54c06a6b57
.
This commit is contained in:
2
Msg3.cpp
2
Msg3.cpp
@ -61,7 +61,7 @@ class RdbCache *getDiskPageCache ( char rdbId ) {
|
||||
rpc = &g_rdbCaches[0];
|
||||
maxSizePtr = &g_conf.m_posdbFileCacheSize;
|
||||
maxMem = *maxSizePtr;
|
||||
maxRecs = maxMem / 9; //best guess
|
||||
maxRecs = maxMem / 5000;
|
||||
dbname = "posdbcache";
|
||||
}
|
||||
if ( rdbId == RDB_TAGDB ) {
|
||||
|
Reference in New Issue
Block a user