-
Notifications
You must be signed in to change notification settings - Fork 31
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
Stop using backend to delete cascade nodes #2969
Comments
/app_worker/dataprocessor?action=deleteCascadeNodes Deleting tree nodes is done in a nicely recursive way. Unless the task was sent to the backend "just in case", this must be what can overrun the task queue's 600s limit. I see two ways to cut it down:
|
After a few tests I believe nothing needs to be optimised. I deleted a huge cascade, and none of the tasks took>300ms (the last ones that should have had most of the leaves). Most were around 100ms. |
* develop: (48 commits) [#3026]Stop updating the backend. [#3024] release notes Update bootstrap-deploy.sh [#3022]Avoid NPE if no user found. [#3018] release notes [#3018]Initial version of release notes. [#2969] Remove whitespace [#2971]Extract constants. Remove trailing whitespace. [#3017] Add NSS package [#3017] Add NSS package [#3017] Add NSS package [#3017] Add NSS package [#2970]Remove trailing whitespace. [#2970]Formatting... [#2802] unused function [#2802] do it the ember way [#2694] Remove backends configuration file [#2696] Refactor cascade node deletion [#2694] Remove backends deployment code [#2971]Stop calling taks on backend. Remove unused stuff. ...
Part of #2694.
The text was updated successfully, but these errors were encountered: