temporalio / temporalio/temporal
Could taskReader persistAckLevel check last persist ackLevel avoid persist duplicate ackLevel
Open
@dnr is already working on this.
Since Jul 28, 2023.
enhancement
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
Is your feature request related to a problem? Please describe.
Some workflow worker or actvitiy worker just startup wait for task coming but maybe hold for long time. Here are may no task coming for a long while. Persist acklevel cause effortless database request per updateAckTimer.
Describe the solution you'd like
taskReader store last persist ack level and do persistAckLevel only when current ack level not match last persist ack level.
Describe alternatives you've considered
No
Additional context
No
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.