[Koha-bugs] [Bug 28276] Do not fetch config ($KOHA_CONF) from memcached
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 4 08:51:13 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28276
--- Comment #3 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to Victor Grousset/tuxayo from comment #2)
> Error:
> «Starting Z39.50/SRU daemon for kohadev:Global symbol "$file" requires
> explicit package name (did you forget to declare "my $file"?) at
> /kohadevbox/koha/Koha/Config.pm line 36.»
>
> I guess there should be simple quotes right?
You probably added the warn too early. It should be just after getting the
parameters:
my ($class, $file) = @_;
warn "read_from_file($file)";
> Test results: Is that what should be expected? (less reads but still
> multiple)
You should see it once per worker. I see that there are two "read_from_file" in
plack-error.log (after the patch). So if you have two workers that's normal.
Please make sure there are no "read_from_file" after startup, when you use koha
web interface.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list