I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 46677887 authored by zzz's avatar zzz
Browse files

* SimpleByteCache: Fix ABQ/LBQ selection

parent a71e8fae
No related branches found
No related tags found
No related merge requests found
......@@ -88,7 +88,7 @@ public final class SimpleByteCache {
* @since 0.9.2
*/
private Queue<byte[]> createQueue() {
if (_maxCached <= MAX_FOR_ABQ)
if (_entrySize <= MAX_FOR_ABQ)
return new ArrayBlockingQueue(_maxCached);
return new LinkedBlockingQueue(_maxCached);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment