Compare commits
No commits in common. "6401a40f11f36b376eea982c174baee5c6032d25" and "32197fd6995681d7dc69858168174464abf10e2a" have entirely different histories.
6401a40f11
...
32197fd699
@ -34,6 +34,7 @@ class Daemon(base.Daemon):
|
|||||||
if process is None or not process.is_alive:
|
if process is None or not process.is_alive:
|
||||||
print(f'process for {project_name} {bot_name} is not alive')
|
print(f'process for {project_name} {bot_name} is not alive')
|
||||||
continue
|
continue
|
||||||
|
if process.is_alive:
|
||||||
print(f'terminating process for {project_name} {bot_name}')
|
print(f'terminating process for {project_name} {bot_name}')
|
||||||
process.terminate()
|
process.terminate()
|
||||||
self.telegram_pollers[project_name][bot_name] = None
|
self.telegram_pollers[project_name][bot_name] = None
|
||||||
|
Loading…
Reference in New Issue
Block a user