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

add: retries to dump_upload_batch and increase resources #712

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions pipelines/rj_segovi/dump_db_1746/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
labels=[
constants.RJ_SEGOVI_AGENT_LABEL.value,
],
cpu_limit="500m",
cpu_request="500m",
memory_limit="2Gi",
memory_request="2Gi",
cpu_limit="1000m",
cpu_request="1000m",
memory_limit="4Gi",
memory_request="4Gi",
)

_1746_default_parameters = {
Expand Down
2 changes: 1 addition & 1 deletion pipelines/utils/dump_db/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def parse_comma_separated_string_to_list(text: str) -> List[str]:
return result


@task
@task(max_retries=3, retry_delay=timedelta(seconds=300))
def dump_upload_batch(
database: Database,
batch_size: int,
Expand Down
Loading