From 64f05bd28bc4b48f39930a5154f0987422031e30 Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 8 Aug 2017 00:26:32 -0700 Subject: [PATCH] inspircd: set a name on endburstf() threads --- protocols/inspircd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/inspircd.py b/protocols/inspircd.py index 89b2184..b022cc3 100644 --- a/protocols/inspircd.py +++ b/protocols/inspircd.py @@ -366,7 +366,7 @@ class InspIRCdProtocol(TS6BaseProtocol): self._send_with_prefix(sid, 'ENDBURST') if endburst_delay: - threading.Thread(target=endburstf).start() + threading.Thread(target=endburstf, name="protocols/inspircd delayed ENDBURST thread for %s@%s" % (sid, self.name)).start() else: # Else, send burst immediately self._send_with_prefix(sid, 'ENDBURST') return sid