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 throttling when there is a syncErr #2356

Merged
merged 1 commit into from
Dec 13, 2024
Merged

add throttling when there is a syncErr #2356

merged 1 commit into from
Dec 13, 2024

Conversation

iskakaushik
Copy link
Contributor

No description provided.

@@ -162,6 +162,15 @@ func SyncFlowWorkflow(
}

restart := syncErr || workflow.GetInfo(ctx).GetContinueAsNewSuggested()

if syncErr {
logger.Info("sync flow error, sleeping for 30 seconds...")
Copy link
Contributor

Choose a reason for hiding this comment

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

no need to log, already logged error when syncErr was set

@iskakaushik iskakaushik merged commit 12aa300 into main Dec 13, 2024
6 of 9 checks passed
@iskakaushik iskakaushik deleted the sleep-if-sync-err branch December 13, 2024 20:45
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