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

Prevent blocking of server when multiple changes are made to document in short time interval #532

Open
vetlek opened this issue Apr 5, 2024 · 1 comment

Comments

@vetlek
Copy link
Collaborator

vetlek commented Apr 5, 2024

Currently all change events to documents are queued and all are executed even tough there might be newer changes in to document. This makes the extension unresponsive for large config files. Should investigate how this is handled by other extensions. Possible solution: Stackoverflow

@vetlek
Copy link
Collaborator Author

vetlek commented Apr 10, 2024

The correct solution is probably to create a dedicated server for parsing of septic files and potentially other tasks that are long running. This will free up the event handler to process new events while the tasks are run and support the possibility of using cancellation tokens when more up to date tasks arrives.

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