Author: toad
Date: 2006-07-26 17:54:55 +0000 (Wed, 26 Jul 2006)
New Revision: 9778

Modified:
   trunk/freenet/src/freenet/node/NodeStarter.java
Log:
Maybe fix Zothar's problem?

Modified: trunk/freenet/src/freenet/node/NodeStarter.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeStarter.java     2006-07-26 17:28:53 UTC 
(rev 9777)
+++ trunk/freenet/src/freenet/node/NodeStarter.java     2006-07-26 17:54:55 UTC 
(rev 9778)
@@ -123,9 +123,15 @@
                        public void run() {
                                while(true)
                                        try {
-                                               Thread.sleep(Long.MAX_VALUE);
+                                               Thread.sleep(60*60*1000);
                                        } catch (InterruptedException e) {
                                                // Ignore
+                                       } catch (Throwable t) {
+                                               try {
+                                                       Logger.error(this, 
"Caught "+t, t);
+                                               } catch (Throwable t1) {
+                                                       // Ignore
+                                               }
                                        }
                        }
                };


Reply via email to