Skip to content

Commit caab4af

Browse files
authored
cleaner way to set pickler
1 parent b2a2403 commit caab4af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coffea/processor/executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ def __init__(
514514
):
515515
if mp_context is None:
516516
mp_context = multiprocessing.get_context()
517-
mp_context.reducer = cloudpickle.Pickler()
517+
mp_context.reduction.ForkingPickler = cloudpickle.Pickler
518518
super().__init__(
519519
max_workers=max_workers,
520520
mp_context=mp_context,

0 commit comments

Comments
 (0)