Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce max_lag_in_minutes for streaming and reduce number of retries #641

Merged
merged 2 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dags/ethereum_verify_streaming_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
dag_id='ethereum_verify_streaming_dag',
**read_verify_streaming_dag_vars(
var_prefix='ethereum_',
max_lag_in_minutes=15,
max_lag_in_minutes=10,
)
)
2 changes: 1 addition & 1 deletion dags/ethereumetl_airflow/build_verify_streaming_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def build_verify_streaming_dag(
'start_date': start_date,
'email_on_failure': True,
'email_on_retry': False,
'retries': 5,
'retries': 2,
'retry_delay': timedelta(minutes=5)
}

Expand Down
2 changes: 2 additions & 0 deletions requirements_airflow.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ ethereum-etl==2.2.1 # Requires web3>=5.29,<6
# web3>5.31.0,<6 requires protobuf==3.19.5 which conflicts with `composer-2.1.14-airflow-2.5.1`.
# web3==5.31.0 is the latest version that has the more relaxed protobuf>=3.10.0,<4 requirement.
web3==5.31.0
# Prevents ImportError: cannot import name 'WKBWriter' from 'shapely.geos' (/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/shapely/geos.py)
shapely < 2.0.0
Loading