add queued transactions rocksdb cf cache
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
b20bd65d38
commit
63d1fcf213
3 changed files with 19 additions and 0 deletions
|
@ -170,6 +170,15 @@ pub(crate) fn cf_options(
|
|||
cache_size(cfg, cfg.statekeyshort_cache_capacity, 1024)?,
|
||||
),
|
||||
|
||||
"servernameevent_data" => set_table_with_new_cache(
|
||||
&mut opts,
|
||||
cfg,
|
||||
cache,
|
||||
name,
|
||||
cache_size(cfg, cfg.servernameevent_data_cache_capacity, 128)?, /* Raw average value size = 102, key
|
||||
* size = 34 */
|
||||
),
|
||||
|
||||
"eventid_outlierpdu" => {
|
||||
set_table_with_new_cache(&mut opts, cfg, cache, name, cache_size(cfg, cfg.pdu_cache_capacity, 1536)?);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue