1
0
Fork 0
forked from lthn/blockchain

enabled db cache

This commit is contained in:
crypro.zoidberg 2019-05-09 14:27:28 +02:00
parent cdbe023198
commit c1d15aeabe

View file

@ -695,8 +695,8 @@ namespace tools
typedef basic_key_value_accessor<t_key, t_value, is_t_access_strategy> base_class;
//typedef epee::misc_utils::cache_with_write_isolation<is_ordered_type, t_key, std::shared_ptr<const t_value>, 10000> cache_container_type;
typedef epee::misc_utils::cache_dummy<is_ordered_type, t_key, std::shared_ptr<const t_value>, 100000> cache_container_type;
typedef epee::misc_utils::cache_with_write_isolation<is_ordered_type, t_key, std::shared_ptr<const t_value>, 10000> cache_container_type;
//typedef epee::misc_utils::cache_dummy<is_ordered_type, t_key, std::shared_ptr<const t_value>, 100000> cache_container_type;
mutable cache_container_type m_cache;