Author: toad
Date: 2008-09-02 14:56:59 +0000 (Tue, 02 Sep 2008)
New Revision: 22347

Modified:
   trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java
Log:
Keys that other nodes want get queued at BULK_SPLITFILE_PRIORITY_CLASS i.e. 
"low", the default for downloads.
This will slow down ULPRs a bit, but we don't want other people's offers 
slowing down updating, ARK fetches etc.


Modified: trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java
===================================================================
--- trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java  
2008-09-02 12:31:32 UTC (rev 22346)
+++ trunk/freenet/src/freenet/client/async/ClientRequestScheduler.java  
2008-09-02 14:56:59 UTC (rev 22347)
@@ -681,7 +681,7 @@
                synchronized(pendingKeys) {
                        if(force) {
                                // FIXME what priority???
-                               priority = 
RequestStarter.IMMEDIATE_SPLITFILE_PRIORITY_CLASS;
+                               priority = 
RequestStarter.BULK_SPLITFILE_PRIORITY_CLASS;
                        }
                        Object o = pendingKeys.get(key);
                        if(o == null) {


Reply via email to