Skip to content

Commit

Permalink
Restore get_ticker batch size to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
vikramrajkumar committed Mar 24, 2017
1 parent b209915 commit 53b40ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/app/database_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ market_ticker database_api_impl::get_ticker( const string& base, const string& q
try {
const fc::time_point_sec now = fc::time_point::now();
const fc::time_point_sec yesterday = fc::time_point_sec( now.sec_since_epoch() - 86400 );
const auto batch_size = 1000;
const auto batch_size = 100;

vector<market_trade> trades = get_trade_history( base, quote, now, yesterday, batch_size );
if( !trades.empty() )
Expand Down

0 comments on commit 53b40ba

Please sign in to comment.