commit 408bf2e3c32d4810808db53180737fb864953457
parent a02b09f3b10416c34420683502e921c27274fac4
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Fri, 5 Jan 2007 23:03:21 +0000
log message cleanups
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@195 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/lib/sup/imap.rb b/lib/sup/imap.rb
@@ -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'])