[Koha-bugs] [Bug 31729] Enable automatic filesystem refresh in Plack
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 11 00:30:59 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31729
David Cook <dcook at prosentient.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dcook at prosentient.com.au
--- Comment #4 from David Cook <dcook at prosentient.com.au> ---
(In reply to Mason James from comment #1)
> to test:
>
> 1/ start ktd
> 2/ add warn to about.pl file, load page, observe no output in log :(
> 3/ apply patch to /etc/koha/plack.psgi
> 4/ restart plack
> 5/ add warn to about.pl file, load page, observe output in log :)
I don't think Plack::Middleware::Refresh would apply in this situation, since
Module::Refresh scans the %INC for modified files.
With this test plan, I think that it would only seem to work because the
Starman worker replying to the request hasn't yet cached the compiled version
of about.pl in its memory (in the Plack::App::CGIBin namespace).
All the more reason for us to move our code out of .pl scripts and into .pm
modules hehe.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list