We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 418cc89 commit c5af4d3Copy full SHA for c5af4d3
pc/user.cpp
@@ -301,6 +301,11 @@ void user::parse_get_product_list( uint32_t itok )
301
302
// If the primary manager has no products, pull them from the secondary
303
// manager instead.
304
+ //
305
+ // Warning: if the primary network is disconnected but the products still
306
+ // exist in the primary manager's mapping (i.e. pythd hasn't restarted), the prices
307
+ // returned from this endpoint will therefore be stale and will only be updated
308
+ // when the primary network reconnects.
309
pc::manager *mgr = sptr_;
310
if ( sptr_->get_num_product() == 0 && sptr_->has_secondary() ) {
311
mgr = sptr_->get_secondary();
0 commit comments