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

Commit monitor search index debounce / throttling #473

Closed
joepio opened this issue Aug 8, 2022 · 1 comment
Closed

Commit monitor search index debounce / throttling #473

joepio opened this issue Aug 8, 2022 · 1 comment

Comments

@joepio
Copy link
Member

joepio commented Aug 8, 2022

When a Commit is handled by Atomic-Server, it updates the search index only if it hasn't done so in the past 15 seconds. This is because this is an expensive operation, and it isn't bad if it takes a while to find your edit.

However, this leads to a problem: if you make your edit, and then do nothing for 15 seconds, the update is not indexed. It is only indexed when anyone makes any new commit.

In a highly active server, this will be fine. But if you are the only user, it can become really frustrating!

So I think this should be some sort of periodic runner.

joepio added a commit that referenced this issue Aug 8, 2022
@joepio
Copy link
Member Author

joepio commented Aug 9, 2022

Fixed

@joepio joepio closed this as completed Aug 9, 2022
joepio added a commit that referenced this issue Aug 11, 2022
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

No branches or pull requests

1 participant