Skip to content

Commit 05a4099

Browse files
committed
Actually set __started flag on SimpleThreadedWorkerPool.
1 parent ee5822b commit 05a4099

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sentry/nodestore/riak/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ def consumer():
6767
t.setDaemon(True)
6868
t.start()
6969

70+
self.__started = True
71+
7072
def submit(self, (func, arg, kwargs, cb)):
7173
"""\
7274
Submit a task to the worker pool.

0 commit comments

Comments
 (0)