From 03d53e6703f8460838298094692638c424444075 Mon Sep 17 00:00:00 2001 From: Abit Date: Mon, 15 Feb 2021 01:21:20 +0100 Subject: [PATCH] Improve market ticker read performance via chunks --- libraries/plugins/market_history/market_history_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/plugins/market_history/market_history_plugin.cpp b/libraries/plugins/market_history/market_history_plugin.cpp index ff69b7f144..819f38ff59 100644 --- a/libraries/plugins/market_history/market_history_plugin.cpp +++ b/libraries/plugins/market_history/market_history_plugin.cpp @@ -780,7 +780,7 @@ void market_history_plugin::plugin_initialize(const boost::program_options::vari database().add_index< primary_index< bucket_index > >(); database().add_index< primary_index< history_index > >(); - database().add_index< primary_index< market_ticker_index > >(); + database().add_index< primary_index< market_ticker_index, 8 > >(); // 256 markets per chunk database().add_index< primary_index< simple_index< market_ticker_meta_object > > >(); database().add_index< primary_index< liquidity_pool_history_index > >();