Method: Bluth.shift
- Defined in:
- lib/bluth.rb
.shift ⇒ Object
Workers use a blocking pop and will wait for up to Bluth.queuetimeout (seconds) before returnning nil. Note that the queues are still processed in order. If all queues are empty, the first one to return a value is use. See:
162 163 164 |
# File 'lib/bluth.rb', line 162 def Bluth.shift blocking_queue_handler :blpop end |