Skip to content

Commit 210a978

Browse files
jmbergkuba-moo
authored andcommitted
ingest_mdir: wait for workers to actually do something
Since the removal of barriers, this just queues the work and then stops it, without ever doing it. Fix that. Fixes: fd7d03f ("stop using barriers") Signed-off-by: Johannes Berg <[email protected]>
1 parent 7ba9371 commit 210a978

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

ingest_mdir.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,11 @@
7373
tester.start()
7474

7575
pending.put(series)
76-
77-
# Shut workers down
78-
tester.should_die = True
7976
pending.put(None)
8077

81-
finally:
78+
except:
8279
tester.should_die = True
83-
pending.put(None)
80+
finally:
8481
tester.join()
8582

8683
# Summary hack

0 commit comments

Comments
 (0)