service: use correct profile aggregation name.

pull/564/head
David Wilson 6 years ago
parent a2ae4ed696
commit 2399a9e621

@ -467,7 +467,7 @@ class Pool(object):
thread = threading.Thread( thread = threading.Thread(
name=name, name=name,
target=mitogen.core._profile_hook, target=mitogen.core._profile_hook,
args=(name, self._worker_main), args=('mitogen.service.pool', self._worker_main),
) )
thread.start() thread.start()
self._threads.append(thread) self._threads.append(thread)

Loading…
Cancel
Save