[Koha-bugs] [Bug 21366] Add Plack reload

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Aug 22 09:46:19 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21366

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m.de.rooy at rijksmuseum.nl

--- Comment #23 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Reading this on CPAN:
Sending HUP signal to the master process will restart all the workers
gracefully (meaning the currently running requests will shut down once the
request is complete), and by default, the workers will pick up the code changes
you make by reloading the application.

If you enable --preload-app option, however, the code will be only loaded in
the startup process and will not pick up the code changes you made. If you want
to preload the app and do graceful restarts by reloading the code changes,
you're recommended to use Server::Starter, configured to send QUIT signal when
superdaemon received HUP ...
[End of quote]

While testing with about and inserting a small code change, I notice that while
I started the about web request before the plack reload, the code change
already is visible in the web request.
I think that this is not what we want here ?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list