mirror of
https://github.com/omg-xtao/ytdlbot.git
synced 2024-11-16 03:45:23 +00:00
kill with code update, socat change
This commit is contained in:
parent
8aeca9b0f0
commit
46827fd683
@ -2,7 +2,7 @@ version: '3.1'
|
||||
|
||||
services:
|
||||
socat:
|
||||
image: jmb12686/socat
|
||||
image: bennythink/socat
|
||||
restart: always
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
@ -197,7 +197,7 @@ class Detector:
|
||||
def updates_too_long_detector(self):
|
||||
# If you're seeing this, that means you have logged more than 10 device
|
||||
# and this earliest account was kicked out. Restart the program could get you back in.
|
||||
indicators = ["types.UpdatesTooLong", "Got shutdown from remote"]
|
||||
indicators = ["types.UpdatesTooLong", "Got shutdown from remote", "Code is updated"]
|
||||
for indicator in indicators:
|
||||
if indicator in self.logs:
|
||||
logging.warning("Potential crash detected by %s, it's time to commit suicide...", self.func_name())
|
||||
|
Loading…
Reference in New Issue
Block a user