]> git.cworth.org Git - sup/commitdiff
speed up imap load time
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Fri, 23 Nov 2007 22:17:27 +0000 (22:17 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Fri, 23 Nov 2007 22:17:27 +0000 (22:17 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@707 5c8cc53c-5e98-4d25-b20a-d8db53a31250

bin/sup

diff --git a/bin/sup b/bin/sup
index a98753ff2724d3003c8d4cdb3426e5b8cb82f3c9..1a1153720e1b4972e42f90ea25c1be65eae81d61 100644 (file)
--- 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]