http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11167 --- Comment #6 from Robin Sheat <robin@catalyst.net.nz> --- (In reply to Galen Charlton from comment #5)
- passing environment variables to Plack is difficult
It's not really, I have the init script set to pull from a defaults file: $ cat /etc/default/koha-common-starman # Defaults file for starman-related environment variables # The location of the memcache server (currently only one can be provided.) MEMCACHED_SERVERS=127.0.0.1:11211 # The namespace under which memcache keys will be stored. # ${name} becomes the name of the instance. MEMCACHED_NAMESPACE="${name}_koha" # Koha debug options that you probably don't want to use unless you're trying # to figure out a problem. KOHA_BACKTRACE=1 DEBUG=1
- we don't need to cache koha-conf.xml quite like this in memcached, avoiding the chicken-and-egg problem that may ahve motivated 6193.
We don't so much for plack, we can keep it in a local variable, and a read every 20 requests or whatever is no big deal. But it seems it'd shave a reasonable bit of time off loading the CGI implementation. -- You are receiving this mail because: You are watching all bug changes.