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

[Backport stable/1.3] refactor(engine): prevent instant rescheduling #9255

Merged
merged 1 commit into from
Apr 29, 2022

Conversation

github-actions[bot]
Copy link
Contributor

Description

Backport of #9237 to stable/1.3.

relates to #9236 #9238

Before this change, the delay calculated to reschedule a task could be negative or close to 0.
This lead to the checker being immediately rescheduled. This is bad, because it does not leave room
for other tasks to run.

With this change, a lower floor is applied when the task is rescheduled.

(cherry picked from commit 0f4a6ab)
@pihme
Copy link
Contributor

pihme commented Apr 29, 2022

bors merge

@zeebe-bors-camunda
Copy link
Contributor

👎 Rejected by too few approved reviews

Copy link
Contributor

@pihme pihme left a comment

Choose a reason for hiding this comment

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

bors merge

@zeebe-bors-camunda zeebe-bors-camunda bot merged commit 79d905c into stable/1.3 Apr 29, 2022
@zeebe-bors-camunda zeebe-bors-camunda bot deleted the backport-9237-to-stable/1.3 branch April 29, 2022 13:18
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.

None yet

1 participant