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 8efd0a9 commit e653b77Copy full SHA for e653b77
pc/user.cpp
@@ -297,6 +297,11 @@ void user::parse_get_product_list( uint32_t itok )
297
298
// If the primary manager has no products, pull them from the secondary
299
// manager instead.
300
+ //
301
+ // Warning: if the primary network is disconnected but the products still
302
+ // exist in the primary manager's mapping (i.e. pythd hasn't restarted), the prices
303
+ // returned from this endpoint will therefore be stale and will only be updated
304
+ // when the primary network reconnects.
305
pc::manager *mgr = sptr_;
306
if ( sptr_->get_num_product() == 0 && sptr_->has_secondary() ) {
307
mgr = sptr_->get_secondary();
0 commit comments