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

optimize node save in graph designer #5912

Open
whatisgalen opened this issue Feb 14, 2020 · 0 comments
Open

optimize node save in graph designer #5912

whatisgalen opened this issue Feb 14, 2020 · 0 comments

Comments

@whatisgalen
Copy link
Member

when a change such as the adding of a fieldname for a node gets saved, graph.py iterates through all nodes, regardless of whether they're changed, re-saves them, and creates ES mappings for them. At the time of writing, one save takes about 1 second.

See this codeblock for reference:
https://github.com/archesproject/arches/blob/master/arches/app/models/graph.py#L352-L357

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants