mirror of
https://github.com/internetarchive/warcprox.git
synced 2025-01-18 13:22:09 +01:00
include thread pid in thread name (linux-specific, not sure what happens on other systems)
This commit is contained in:
parent
44792151c9
commit
6da3dd50ac
@ -38,6 +38,7 @@ class WarcWriterThread(threading.Thread):
|
||||
|
||||
def run(self):
|
||||
try:
|
||||
self.setName('WarcWriterThread(tid={})'.format(warcprox.gettid()))
|
||||
while not self.stop.is_set():
|
||||
try:
|
||||
recorded_url = self.recorded_url_q.get(block=True, timeout=0.5)
|
||||
|
Loading…
x
Reference in New Issue
Block a user