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)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 6 May 2015 18:40:07 +0000 (18:40 +0000)
commit2783760267fe1e74ecffa7a2926979560c3e6c44
treef46d65a8f1d0192813f0926594c361bf4b5641d7
parente27efd3811b3d4252984050cf1b797909fc161c1
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>
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