Skip to content
This repository has been archived by the owner on Dec 20, 2024. It is now read-only.

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bram-vdberg committed Nov 4, 2024
1 parent 483ac54 commit bb4e8cc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/deploy_prefect/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@
)
from src.deploy_prefect.models import ENV, CHAIN, Config

def generate_pr_flow_name():
return os.getenv("BRANCH_NAME")

@flow(flow_run_name=generate_pr_flow_name(), retries=3, retry_delay_seconds=60, log_prints=True) # type: ignore[misc]
@flow(retries=3, retry_delay_seconds=60, log_prints=True) # type: ignore[misc]
def dev_order_rewards() -> None:
"""Defines a flow for updating the order_rewards table"""
config = Config(CHAIN.MAINNET, ENV.DEV)
Expand Down

0 comments on commit bb4e8cc

Please sign in to comment.