sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit ba60d268357779027cefbfff934e78490d2ad94d
parent 42717933fecea2543cfdf395882a5ef8b47c1f80
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Fri, 23 Nov 2007 22:17:27 +0000

speed up imap load time

git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@707 5c8cc53c-5e98-4d25-b20a-d8db53a31250

Diffstat:
M bin/sup | 18 ------------------
1 file changed, 0 insertions(+), 18 deletions(-)
diff --git a/bin/sup b/bin/sup
@@ -171,24 +171,6 @@ begin
 
   bm.draw_screen
 
-  begin
-    Index.usual_sources.each { |s| s.check }
-  rescue SourceError
-    # do nothing! we'll report it at the next step
-  end
-  Redwood::report_broken_sources
-  
-  Index.usual_sources.each do |s|
-    next unless s.respond_to? :connect
-    reporting_thread do
-      begin
-        s.connect
-      rescue SourceError => e
-        Redwood::log "fatal error loading from #{s}: #{e.message}"
-      end
-    end
-  end
-
   imode.load_threads :num => ibuf.content_height, :when_done => lambda { reporting_thread { sleep 1; PollManager.poll } unless $opts[:no_threads] }
 
   unless $opts[:no_threads]