]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1452366: allow EGWeb context loaders to have child_init actions
authorGalen Charlton <gmc@esilibrary.com>
Tue, 5 May 2015 22:15:39 +0000 (22:15 +0000)
committerBill Erickson <berickxx@gmail.com>
Wed, 10 Jun 2015 17:34:48 +0000 (13:34 -0400)
commit984ea80e7c8b331591a256369faabeea0a6acd89
tree6ed5c204f01f8f93b724b59a09912978338b1dc8
parentce4baf43de81892a2761f76ece26eadbeb64f0c5
LP#1452366: allow EGWeb context loaders to have child_init actions

This patch adds the ability for EGWeb to call
an initialization function for context loaders
during the child_init phase of Apache backend
startup.

In particular, portions of the R/O object cache
for EGCatLoader are now initialized when a backend
starts up; testing indicates that this can shave
a couple seconds off the time it takes for a
backend to render a bib details page the first time.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/examples/apache/eg_startup.in
Open-ILS/examples/apache_24/eg.conf.in
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Util.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGWeb.pm