-
Notifications
You must be signed in to change notification settings - Fork 16
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
Deadline is removed after task processing, allowing follow-up database operations to succeed in any case. #152
Conversation
…e operations to succeed in any case.
@@ -456,7 +456,6 @@ protected void processTask(ITaskHandler taskHandler, ITaskConcurrencyPolicy conc | |||
|
|||
TwContext currentContext = TwContext.current(); | |||
UnitOfWork unitOfWork = unitOfWorkManager.getUnitOfWork(currentContext); | |||
unitOfWork.setDeadline(deadline); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the fix, rest is piggybacking some other stuff.
if (taskProcessed.isTrue()) { | ||
break; | ||
} | ||
for (GlobalProcessingState.TypeTasks typeTasks : prioritySlot.getOrderedTypeTasks()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That ArrayList had been quite visible in Opsian.
max-parallel: 100 | ||
matrix: | ||
spring_boot_version: | ||
- 2.6.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👏
Context
Deadline is removed after task processing, allowing follow-up database operations to succeed in any case.
Checklist