Skip to content

Commit

Permalink
Merge branch 'master' into feature/GSYE-810
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesdiedrich authored Dec 17, 2024
2 parents 7ba4c86 + 8e4024a commit 63444ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gsy_e/gsy_e_core/rq_job_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ def _configure_constants_constsettings(
)
gsy_e.constants.CONNECT_TO_PROFILES_DB = connect_to_profiles_db

if settings.get("p2p_enabled", True) is False:
if spot_market_type == SpotMarketTypeEnum.NO_MARKET.value:
ConstSettings.MASettings.MIN_BID_AGE = gsy_e.constants.MIN_OFFER_BID_AGE_P2P_DISABLED
ConstSettings.MASettings.MIN_OFFER_AGE = gsy_e.constants.MIN_OFFER_BID_AGE_P2P_DISABLED
gsy_e.constants.RUN_IN_NON_P2P_MODE = True
Expand Down

0 comments on commit 63444ac

Please sign in to comment.