Skip to content

Commit a116655

Browse files
committed
Don't randomize the order in which price update requests are scheduled
1 parent 1ade1da commit a116655

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pc/manager.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -783,11 +783,6 @@ void manager::del_user( user *usr )
783783
void manager::schedule( price_sched *kptr )
784784
{
785785
kvec_.push_back( kptr );
786-
for( unsigned i = kvec_.size()-1; i; --i ) {
787-
if ( kvec_[i]->get_hash() < kvec_[i-1]->get_hash() ) {
788-
std::swap( kvec_[i], kvec_[i-1] );
789-
}
790-
}
791786
}
792787

793788
void manager::on_response( rpc::get_slot *res )

0 commit comments

Comments
 (0)