Skip to content

Commit d0370e1

Browse files
Birger SchachtBirger Schacht
authored andcommitted
Remove workarounds for XMPP bots
XMPP based bots were removed in 3.0.0
1 parent 9dc82e2 commit d0370e1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

intelmq/lib/bot.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -521,10 +521,6 @@ def stop(self, exitcode: int = 1):
521521
if self.logger:
522522
self.logger.info("Bot stopped.")
523523
logging.shutdown()
524-
# Bots using threads that do not exit properly, see #970
525-
if self.__class__.__name__ in ['XMPPCollectorBot', 'XMPPOutputBot']:
526-
proc = psutil.Process(os.getpid())
527-
proc.send_signal(signal.SIGTERM)
528524
else:
529525
self.__log_buffer.append(('info', 'Bot stopped.'))
530526
self.__print_log_buffer()

0 commit comments

Comments
 (0)