Skip to content

Commit 0cf97cf

Browse files
Ormod88manpreet
authored andcommitted
producer: Set exit timeout to 0 for atexit handler to match __del__ (dpkp#1126)
Hit a problem with pytest hitting the atexit handler and waiting for close() timeout forever at teardown. This commit makes atexit close() equivalent to __del__ behavior, namely using timeout of 0 for close() completion. If you need a longer timeout you should be setting it explicitly.
1 parent 76819af commit 0cf97cf

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)