Open sunnyadams opened 6 months ago
Reason: media_downloader.py
was not able to handle SIGTERM
signal issued by docker compose down
.
To fix:
add the following codes to above def main
import signal
import sys
def handle_sigterm(*args):
raise KeyboardInterrupt()
signal.signal(signal.SIGTERM, handle_sigterm)
telegram_media_downloader version or commit
v2.2.0
What OS are you seeing the problem on?
Windows, Other Linux Distro
Python Version
No response
What happened?
A bug happened!docker部署执行后未修改config中的last_read_message_id字段值
Expected Behavior
修正上述行为
Current Behavior
docker部署执行后未修改config中的last_read_message_id字段值
Possible Solution
No response
Steps to Reproduce
No response
Relevant log output
No response