We sent a SIGKILL to the daemon which does not let it cleanup
Updating to SIGTERM (15) and handle the dbh disconnect gracefully in the
daemon.
Also handle SIGINT (ctrl+c) only because I think it can be useful (?)
Test plan:
prove t/db_dependent/www/search_utf8.t
=> Without this patch there are 3 warnings in the DB container log
db-1 | 2025-10-03 12:30:57 362 [Warning] Aborted connection 42 to db: 'koha_kohadev' user: 'koha_kohadev' host: '172.19.0.6' (Got an error reading communication packets)
=> With this patch applied there are none.
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| 22_to_30 | ||
| ifla | ||
| buildCOUNTRY.pl | ||
| buildEDITORS.pl | ||
| buildLANG.pl | ||
| build_oai_sets.pl | ||
| bulkmarcimport.pl | ||
| checkNonIndexedBiblios.pl | ||
| create_analytical_rel.pl | ||
| import_lexile.pl | ||
| koha-svc.pl | ||
| rebuild_zebra.pl | ||
| rebuild_zebra_sliced.sh | ||
| remove_unused_authorities.pl | ||
| switch_marc21_series_info.pl | ||
| upgradeitems.pl | ||