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

Improved task exceptions #24

Merged
merged 3 commits into from
Nov 28, 2023
Merged

Improved task exceptions #24

merged 3 commits into from
Nov 28, 2023

Conversation

baitcode
Copy link
Contributor

No description provided.

}
is ForceRetry -> withLogCtx("action" to TaskEvents.MESSAGE_SUBMIT_RETRY) {
logger.info { "Received ForceRetry from task $name with callId=${params.callId} with $inputStr" }
manager.enqueueTaskCall(this, inputStr, e.getRetryCallParams(params))
Copy link
Contributor

Choose a reason for hiding this comment

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

How ForceRetry is different from RepeatTask here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They have different getRetryCallParams method which is not defined on a parent type 8 /

Copy link
Contributor

@ilyatikhonov ilyatikhonov left a comment

Choose a reason for hiding this comment

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

Looks good but take a look on the question plz

@baitcode baitcode merged commit 2407a97 into main Nov 28, 2023
2 checks passed
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