bin/redimap in redimap-0.2.0 vs bin/redimap in redimap-0.3.0
- old
+ new
@@ -2,11 +2,13 @@
require 'optparse'
require File.expand_path(File.dirname(__FILE__) + '/../lib/redimap')
+@logger = Redimap.logger
+
# = Parse opts
options = {}
OptionParser.new do |opts|
@@ -22,8 +24,10 @@
loop do
Redimap.queue_new_mailboxes_uids
break unless options[:eternal]
+
+ @logger.debug { "Snoring for #{Redimap.config.polling_interval} s" }
sleep Redimap.config.polling_interval # Sleep awhile.
end