From 111bf858d8d98e201213e6881f6f8416d2d37adb Mon Sep 17 00:00:00 2001 From: Josh LeBlanc Date: Tue, 17 Jun 2025 10:22:12 -0300 Subject: [PATCH] rescue from EWOULDBLOCKWaitReadable --- lib/solid_queue/processes/interruptible.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/solid_queue/processes/interruptible.rb b/lib/solid_queue/processes/interruptible.rb index 67173aeb..ebf5f39e 100644 --- a/lib/solid_queue/processes/interruptible.rb +++ b/lib/solid_queue/processes/interruptible.rb @@ -21,7 +21,7 @@ def interruptible_sleep(time) if time > 0 && self_pipe[:reader].wait_readable(time) loop { self_pipe[:reader].read_nonblock(SELF_PIPE_BLOCK_SIZE) } end - rescue Errno::EAGAIN, Errno::EINTR + rescue Errno::EAGAIN, Errno::EINTR, IO::EWOULDBLOCKWaitReadable end # Self-pipe for signal-handling (http://cr.yp.to/docs/selfpipe.html)