diff --git a/docker-compose.yml b/docker-compose.yml index bc84164..e6012c1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 diff --git a/ytdlbot/utils.py b/ytdlbot/utils.py index bf86959..d36a53c 100644 --- a/ytdlbot/utils.py +++ b/ytdlbot/utils.py @@ -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())