mirror of
https://github.com/joshuaboniface/rffmpeg.git
synced 2026-01-23 02:24:03 +00:00
Add debug to cleanup
This commit is contained in:
parent
ba3173446d
commit
7e535419d6
1 changed files with 2 additions and 0 deletions
2
rffmpeg
2
rffmpeg
|
|
@ -238,6 +238,8 @@ def cleanup(signum="", frame=""):
|
|||
"""
|
||||
global config
|
||||
|
||||
log.debug(f"Cleaning up after signal {signum} PID {config['current_pid']}")
|
||||
|
||||
with dbconn(config) as cur:
|
||||
cur.execute(
|
||||
f"DELETE FROM states WHERE process_id = {SQL_VAR_SIGN}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue