Compare commits

..

No commits in common. "6401a40f11f36b376eea982c174baee5c6032d25" and "32197fd6995681d7dc69858168174464abf10e2a" have entirely different histories.

View File

@ -34,6 +34,7 @@ class Daemon(base.Daemon):
if process is None or not process.is_alive:
print(f'process for {project_name} {bot_name} is not alive')
continue
if process.is_alive:
print(f'terminating process for {project_name} {bot_name}')
process.terminate()
self.telegram_pollers[project_name][bot_name] = None