Commit 8f47c6a2 authored by Byron Jones's avatar Byron Jones

Bug 734078: cache localconfig per-process

r=dkl, a=LpSolit
parent ad7a3329
...@@ -268,10 +268,10 @@ sub input_params { ...@@ -268,10 +268,10 @@ sub input_params {
return $cache->{input_params}; return $cache->{input_params};
} }
our $_localconfig;
sub localconfig { sub localconfig {
my $class = shift; $_localconfig ||= read_localconfig();
$class->request_cache->{localconfig} ||= read_localconfig(); return $_localconfig;
return $class->request_cache->{localconfig};
} }
sub params { sub params {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment