Author: toad
Date: 2008-12-22 19:48:53 +0000 (Mon, 22 Dec 2008)
New Revision: 24753
Modified:
branches/db4o/freenet/src/freenet/client/FECQueue.java
Log:
Tweak
Modified: branches/db4o/freenet/src/freenet/client/FECQueue.java
===================================================================
--- branches/db4o/freenet/src/freenet/client/FECQueue.java 2008-12-22
19:46:48 UTC (rev 24752)
+++ branches/db4o/freenet/src/freenet/client/FECQueue.java 2008-12-22
19:48:53 UTC (rev 24753)
@@ -202,7 +202,9 @@
Logger.minor(this, "Scheduling callback for "+job+"...");
int prio =
job.isADecodingJob ? NativeThread.NORM_PRIORITY+1 : NativeThread.NORM_PRIORITY;
if(job.priority >
RequestStarter.IMMEDIATE_SPLITFILE_PRIORITY_CLASS)
- prio -= 2;
+ prio--;
+ if(job.priority >=
RequestStarter.BULK_SPLITFILE_PRIORITY_CLASS)
+ prio--;
databaseJobRunner.queue(new DBJob() {
public void
run(ObjectContainer container, ClientContext context) {
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs