Skip to content

Commit 0cf548b

Browse files
committed
threadname isn't helpful
1 parent b570f16 commit 0cf548b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

labthings/core/tasks/thread.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ def check_thread(self, record):
159159

160160
if get_ident() == get_ident(self.thread):
161161
return 1
162-
if record.threadName == self.thread.name:
163-
return 1 # TODO: check if this is unsafe, or better with greenlets
164162
return 0
165163

166164
def emit(self, record):

0 commit comments

Comments
 (0)