Update of /cvsroot/freenet/freenet/src/freenet/support
In directory sc8-pr-cvs1:/tmp/cvs-serv1947/src/freenet/support
Modified Files:
FileLoggerHook.java
Log Message:
6172:
Change synchronization in OCM.findFreeConn to allow us to call scheduleConnOpener. Do
it if necessary (start a conn opener and take the existing conn, if we have only 1
message sending connection). Might cause other deadlocks, we shall see.
If we are not throttling, try write all jobs in WSL!
If we skip a throttled conn because we've already processed some, and we don't get
backed off for throttling, use zero selector timeout.
Put a limit (1 hour) on the IOException on write backoff in FileLoggerHook.
Logging
Index: FileLoggerHook.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/support/FileLoggerHook.java,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- FileLoggerHook.java 2 Sep 2003 22:54:29 -0000 1.30
+++ FileLoggerHook.java 5 Sep 2003 16:08:51 -0000 1.31
@@ -250,6 +250,7 @@
Thread.sleep(sleepTime);
} catch (InterruptedException e) {};
sleepTime += sleepTime;
+ if(sleepTime > 3600) sleepTime = 3600;
} else
return;
}
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs