r27255 - trunk/freenet/src/freenet/client/async
[email protected] Thu, 23 Apr 2009 15:12:51 +0000
| Newsgroups | gmane.network.freenet.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: toad
Date: 2009-04-23 15:12:50 +0000 (Thu, 23 Apr 2009)
New Revision: 27255
Modified:
trunk/freenet/src/freenet/client/async/USKManager.java
Log:
Increase USK polling priorities for background fetch of a page after visiting it
Modified: trunk/freenet/src/freenet/client/async/USKManager.java
===================================================================
--- trunk/freenet/src/freenet/client/async/USKManager.java 2009-04-23 12:14:37 UTC (rev 27254)
+++ trunk/freenet/src/freenet/client/async/USKManager.java 2009-04-23 15:12:50 UTC (rev 27255)
@@ -198,7 +198,7 @@
public void onFoundEdition(long l, USK key, ObjectContainer container, ClientContext context, boolean metadata, short codec, byte[] data, boolean newKnownGood, boolean newSlotToo) {
if(l <= min) return;
FreenetURI uri = key.copy(l).getURI();
- final ClientGetter get = new ClientGetter(new NullClientCallback(), uri, new FetchContext(fctx, FetchContext.IDENTICAL_MASK, false, null), RequestStarter.BULK_SPLITFILE_PRIORITY_CLASS, USKManager.this, new NullBucket(), null);
+ final ClientGetter get = new ClientGetter(new NullClientCallback(), uri, new FetchContext(fctx, FetchContext.IDENTICAL_MASK, false, null), RequestStarter.UPDATE_PRIORITY_CLASS, USKManager.this, new NullBucket(), null);
try {
get.start(null, context);
} catch (FetchException e) {
@@ -207,7 +207,7 @@
}
public short getPollingPriorityNormal() {
- return RequestStarter.BULK_SPLITFILE_PRIORITY_CLASS;
+ return RequestStarter.UPDATE_PRIORITY_CLASS;
}
public short getPollingPriorityProgress() {