Skip to content

Commit

Permalink
Not a fix for pymc-devs#3140
Browse files Browse the repository at this point in the history
  • Loading branch information
lucianopaz committed Dec 6, 2018
1 parent 728d7bf commit 18dd23c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pymc3/parallel_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@ def __init__(self, draws, tune, step_method, chain, seed, start):
if e.errno == errno.EPIPE:
exc = _get_broken_pipe_exception()
if exc is not None:
import time
# Sleep a little to give the child process time to flush
# all its error message
time.sleep(0.2)
raise exc
else:
raise
Expand Down

0 comments on commit 18dd23c

Please sign in to comment.