Skip to content

/ jabref

  • Watch
  • Star
  • Fork
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.

Jump to bottom

Throttle autosave actions #5679

Open
Ka0o0 opened this issue Nov 27, 2019 · 0 comments
Open

Throttle autosave actions #5679

Ka0o0 opened this issue Nov 27, 2019 · 0 comments

Comments

@Ka0o0
Copy link
Contributor

@Ka0o0 Ka0o0 commented Nov 27, 2019

Is your suggestion for improvement related to a problem? Please describe.
While I was debugging for issue #5658 I noticed that when doing a find and replace the save action will be performed for every change in entries.

Describe the solution you'd like
A common way of limiting unnecessary write operations is to introduce some sort of throttling. It works in a way that the application waits for n milliseconds until it actually performs the write operation. If, however, during the time another change has occurring the original task is canceled and the delay is restarted.

Additional context
Java provides a Timer class which can be used for this purpose

-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
@Ka0o0
You can’t perform that action at this time.