Skip to content

Commit

Permalink
prod gate in index_nethermind (#11578)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecsavvy authored Mar 11, 2025
1 parent e1db903 commit fda56ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/discovery-provider/src/tasks/index_nethermind.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,7 @@ def index_nethermind(self):
try:
with db.scoped_session() as session:
latest_database_block = get_latest_database_block(session)
correct_env = environment == "dev" or environment == "stage"
if latest_database_block.number >= get_em_cutover() and correct_env:
if latest_database_block.number >= get_em_cutover():
logger.info(
f"Reached EM cutover block, not requeueing index_nethermind {get_em_cutover()}"
)
Expand Down

0 comments on commit fda56ee

Please sign in to comment.