[Koha-bugs] [Bug 23571] fines.pl may block server
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 21 11:22:18 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=23571
Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jonathan.druart at bugs.koha-c
| |ommunity.org
--- Comment #10 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
A couple of things:
1. test plan says "the second one fails", but it actually prints. I would die
instead.
2. That will make you avoid the indentation level you add with this patch.
The algo would be:
- try to get a lock
- if lock already exists then exit/die with "cannot get lock" (or something
more meaningful: "previous run is still alive, cannot start")
- continue the normal process of the script
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list