]> git.notmuchmail.org Git - sup/commitdiff
log message cleanups
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Fri, 5 Jan 2007 23:03:21 +0000 (23:03 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Fri, 5 Jan 2007 23:03:21 +0000 (23:03 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@195 5c8cc53c-5e98-4d25-b20a-d8db53a31250

lib/sup/imap.rb

index 8cafb4f9502e5ffed13ad7826a0b868d185e5cc5..da6a311740d8d69255ee644a1a7c21c1c36b90d7 100644 (file)
@@ -169,13 +169,11 @@ private
   end
 
   def scan_mailbox
-    Redwood::log "#{SCAN_INTERVAL - (Time.now - @last_scan)} seconds to go before resizing mailbox" if @last_scan
     return if @last_scan && (Time.now - @last_scan) < SCAN_INTERVAL
 
     @imap.examine mailbox
     last_id = @imap.responses["EXISTS"].last
     @last_scan = Time.now
-    Redwood::log "IMAP server reports last id as #{last_id}. I have a last id of #{@ids.length}"
     return if last_id == @ids.length
     Redwood::log "fetching IMAP headers #{(@ids.length + 1) .. last_id}"
     values = @imap.fetch((@ids.length + 1) .. last_id, ['RFC822.SIZE', 'INTERNALDATE'])