Closed cfconrad closed 2 years ago
In the consume method, we use a sleep .5, which is equal to sleep 0 if we miss Time::HiRes. I think it wasn't the intention, so including Time::HiRes might help?!
sleep .5
sleep 0
see: https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess/blob/master/lib/Mojo/IOLoop/ReadWriteProcess/Queue.pm#L30
In the consume method, we use a
sleep .5
, which is equal tosleep 0
if we miss Time::HiRes. I think it wasn't the intention, so including Time::HiRes might help?!see: https://github.com/mudler/Mojo-IOLoop-ReadWriteProcess/blob/master/lib/Mojo/IOLoop/ReadWriteProcess/Queue.pm#L30