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

Fix outline being called too often #81

Merged
merged 7 commits into from
Feb 21, 2015

Conversation

christophe-g
Copy link
Contributor

Outline can be pretty resource intensive in some case (e.g. with complex import tree)
This pull request makes sure outline is called only when the outline view is active. With current behavior, outline view also is being updated when directory view is active.
Cheers,
C.

@christophe-g
Copy link
Contributor Author

Well it is a bit better, but even with those commits,outline.xql is called way too often (and is making cpu surge drastically in some cases). We might need a timeout mechanism here.
I have the impression the outline was being updated only when a tab was activated, and not after every code modification, as it seems to be the case now.
Cheers,
C.

wolfgangmm added a commit that referenced this pull request Feb 21, 2015
Fix outline being called too often
@wolfgangmm wolfgangmm merged commit b87efcf into eXist-db:develop Feb 21, 2015
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

Successfully merging this pull request may close these issues.

2 participants