commit 26282c3bacb376f2cddcf282c73addd9c8017fb3
parent 00eb0941076c694b3ce1eeb5ab8487fc93fcf56e
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Sun, 9 Dec 2007 19:01:28 +0000
make no-initial-poll actually useful
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@751 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/sup b/bin/sup
@@ -180,7 +180,7 @@ begin
Redwood::log "fatal error loading from #{s}: #{e.message}"
end
end
- end
+ end unless $opts[:no_initial_poll]
imode.load_threads :num => ibuf.content_height, :when_done => lambda { reporting_thread("poll after loading inbox") { sleep 1; PollManager.poll } unless $opts[:no_threads] || $opts[:no_initial_poll] }