Bug #7459

Term page times out when the form is submitted

Added by Jesús García Crespo about 7 years ago. Updated almost 6 years ago.

Status:NewStart date:11/03/2014
Priority:HighDue date:
Assignee:-% Done:

0%

Category:Taxonomy / Term
Target version:-
Google Code Legacy ID: Tested version:2.0.1, 2.1
Sponsored:No Requires documentation:No

Description

It seems that the ES update() call is taking too long when the term is related to many descriptions.

History

#1 Updated by Dan Gillean about 7 years ago

  • Requires documentation set to No

This was discovered when trying to update the scope note on a top level term (Canada) with a deep hierarchy in the Places taxonomy. Is there any reason why each child term must be re-saved when edits are made to its parent? It seems that the potential for timeouts occurring is very high.

Long term solution would be to perform these saves asynchronously (via job scheduler?) but in the meantime, we should review the code and see what the use case is for re-saving all child nodes, and if perhaps there is a more efficient way to do this.

#2 Updated by Dan Gillean over 6 years ago

  • Target version deleted (Release 2.2.0)
  • Tested version 2.0.1, 2.1 added

Will require sponsorship to review code for performance issues and improve where necessary, or to link updates to the job scheduler. removing from 2.2 as target for now.

#3 Updated by Jesús García Crespo almost 6 years ago

  • Assignee deleted (Jesús García Crespo)

Also available in: Atom PDF