fix(transport): restrict _ignore_sigpipe to main thread only
signal.signal() raises ValueError in non-main threads. Worker threads launched by ThreadPoolExecutor (parallel object uploads) are already safe — Python blocks SIGPIPE in non-main threads, so BrokenPipeError is raised naturally. The context manager now checks threading.current_thread() is threading.main_thread() before touching the signal disposition.
sha256:de06d4a2d0b68296a1f94197f3c99b7f2bfebc5af49bef9259c6e766587adcd3
sha
sha256:ae3c6567773eac617a6eb93cc74553687101905edd6aeb37ade7e996ab1be17c
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:de06d4a2d0b68296a1f94197f3c99b7f2bfebc5af49bef9259c6e766587adcd3 --body "your comment"
No comments yet. Be the first to start the discussion.