master #16

Merged
emmatveev merged 15 commits from master into prod 2024-11-27 18:44:05 +03:00
Showing only changes of commit 8a01f9ce5d - Show all commits

View File

@ -34,7 +34,6 @@ 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