Skip to content
Snippets Groups Projects
Commit 8fb923f1 authored by Denis Vermylen's avatar Denis Vermylen Committed by fw-bot
Browse files

[FIX] service: do not call nonexistent function


omission in d26e253e

kill -3 (SIGQUIT) is not processed like the other signals so it doesn't
go through this bit of code, but leaving the AttributeError lurking
there is not a good idea.

closes odoo/odoo#37218

X-original-commit: ac65ef02
Signed-off-by: default avatarDenis Vermylen <Icallhimtest@users.noreply.github.com>
parent 7327ee20
Branches
Tags
No related merge requests found
......@@ -563,7 +563,7 @@ class PreforkServer(CommonServer):
raise KeyboardInterrupt
elif sig == signal.SIGQUIT:
# dump stacks on kill -3
self.dumpstacks()
dumpstacks()
elif sig == signal.SIGUSR1:
# log ormcache stats on kill -SIGUSR1
log_ormcache_stats()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment