fix bloom filter to set optimal parameters
This commit is contained in:
parent
12cd23df57
commit
761fcb3d20
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ namespace graphene { namespace app {
|
|||
param.projected_element_count = 10000;
|
||||
param.false_positive_probability = 1.0/10000;
|
||||
param.maximum_size = 1024*8*8*2;
|
||||
param.compute_optimal_parameters();
|
||||
_subscribe_filter = fc::bloom_filter(param);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue