lib/sup/poll.rb in sup-0.13.2.1 vs lib/sup/poll.rb in sup-0.14.0
- old
+ new
@@ -169,10 +169,10 @@
## like Source#poll, but yields successive Message objects, which have their
## labels and locations set correctly. The Messages are saved to or removed
## from the index after being yielded.
def poll_from source, opts={}
- debug "trying to acquiring poll lock for: #{source}.."
+ debug "trying to acquire poll lock for: #{source}.."
if source.poll_lock.try_lock
debug "lock acquired for: #{source}."
begin
source.poll do |sym, args|
case sym