Skip to content

Commit

Permalink
Improve market ticker read performance via chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
abitmore authored Feb 15, 2021
1 parent 45539b0 commit 03d53e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/plugins/market_history/market_history_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 > >();
Expand Down

0 comments on commit 03d53e6

Please sign in to comment.