Skip to content

Commit

Permalink
Merge pull request #2358 from bitshares/market-ticker-trunk
Browse files Browse the repository at this point in the history
Improve market ticker read performance via chunks
  • Loading branch information
abitmore authored Feb 16, 2021
2 parents 221f6b2 + 03d53e6 commit 6a2af5b
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 6a2af5b

Please sign in to comment.