Skip to content

Commit 9af84bf

Browse files
committed
Send notify_price_sched RPC messages even if manager isn't connected
1 parent 3dc8dae commit 9af84bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pc/manager.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,9 @@ void manager::poll( bool do_wait )
578578
}
579579
}
580580

581+
// request quotes from the publishers
582+
poll_schedule();
583+
581584
// try to (re)connect to tx proxy
582585
if ( do_tx_ && ( !tconn_.get_is_connect() || tconn_.get_is_err() ) ) {
583586
tconn_.reconnect();
@@ -586,9 +589,6 @@ void manager::poll( bool do_wait )
586589
if ( has_status( PC_PYTH_RPC_CONNECTED ) &&
587590
!hconn_.get_is_err() &&
588591
( !wconn_ || !wconn_->get_is_err() ) ) {
589-
// request product quotes from pythd's clients while connected
590-
poll_schedule();
591-
592592
send_pending_ups();
593593
} else {
594594
reconnect_rpc();

0 commit comments

Comments
 (0)