Skip to content

Commit 0906d19

Browse files
fix to proxy soolana node reconnect logic in reinitializing slot leaders
1 parent 11689c5 commit 0906d19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pcapps/tx_svr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ void tx_svr::reconnect_rpc()
341341
avec_.clear();
342342
clnt_.reset();
343343
ctimeout_ = PC_NSECS_IN_SEC;
344-
lreq_->set_recv_time( 0L ); // in case this request was in-flight
344+
lreq_->set_recv_time( lreq_->get_sent_time() );
345345

346346
// subscribe to slots and cluster addresses
347347
clnt_.send( sreq_ );

0 commit comments

Comments
 (0)