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

AIP-8176 PVC & Sensor retry count 7->3 #294

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

talebzeghmi
Copy link
Collaborator

  • With exponential backoff of 2m duration, 7 retries is ~3 days
  • This means that a flow failure could take 3 days before the customer is notified (unless the default of 24 hour workflow activeDeadlineSeconds hits first)

- With exponential backoff of 2m duration, 7 retries is ~3 days
- This means that a flow failure could take 3 days before the customer is notified (unless the default of 24 hour workflow `activeDeadlineSeconds` hits first)
@talebzeghmi talebzeghmi requested a review from cloudw March 12, 2024 23:28
@@ -156,6 +156,8 @@ def from_conf(name, default=None):
AIP_MAX_PARALLELISM = int(from_conf("AIP_MAX_PARALLELISM", 10))
AIP_MAX_RUN_CONCURRENCY = int(from_conf("AIP_MAX_RUN_CONCURRENCY", 10))
AIP_SHOW_METAFLOW_UI_URL = bool(from_conf("AIP_SHOW_METAFLOW_UI_URL", False))
AIP_PVC_CREATE_RETRY_COUNT = int(from_conf("AIP_PVC_CREATE_RETRY_COUNT", 3))
AIP_S3_SENSOR_RETRY_COUNT = int(from_conf("AIP_S3_SENSOR_RETRY_COUNT", 3))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious why these two constants are moved?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so now they can be overridden by CICD environment variables!

@talebzeghmi talebzeghmi merged commit 4f72b07 into feature/aip Mar 13, 2024
4 checks passed
@talebzeghmi talebzeghmi deleted the tz/AIP-8176-pvc-retry-count branch March 13, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants