Tweak index size computation.
This commit is contained in:
parent
c4f3bd14c0
commit
2f2fc23771
1 changed files with 2 additions and 2 deletions
|
@ -190,10 +190,10 @@ set_cfg:
|
|||
*memreqd = MEM_REQD(*hash_slots, *hash_entry_size);
|
||||
|
||||
/*
|
||||
* If memory required is more than thrice the indicated memory limit then
|
||||
* If memory required is more than twice the indicated memory limit then
|
||||
* we switch to Segmented Similarity based dedupe.
|
||||
*/
|
||||
if (*memreqd > (memlimit * 3) && cfg->dedupe_mode == MODE_SIMPLE &&
|
||||
if (*memreqd > (memlimit * 2) && cfg->dedupe_mode == MODE_SIMPLE &&
|
||||
*pct_interval == 0 && tmppath != NULL) {
|
||||
*pct_interval = DEFAULT_PCT_INTERVAL;
|
||||
set_user = 1;
|
||||
|
|
Loading…
Reference in a new issue