make the client writer thread run at max priority, since it is very time sensitive and only executes for very brief periods
This commit is contained in:
@ -103,7 +103,7 @@ public class ClientConnectionRunner {
|
|||||||
I2PThread t = new I2PThread(_writer);
|
I2PThread t = new I2PThread(_writer);
|
||||||
t.setName("Writer " + ++__id);
|
t.setName("Writer " + ++__id);
|
||||||
t.setDaemon(true);
|
t.setDaemon(true);
|
||||||
t.setPriority(I2PThread.MIN_PRIORITY);
|
t.setPriority(I2PThread.MAX_PRIORITY);
|
||||||
t.start();
|
t.start();
|
||||||
_out = _socket.getOutputStream();
|
_out = _socket.getOutputStream();
|
||||||
_reader.startReading();
|
_reader.startReading();
|
||||||
|
Reference in New Issue
Block a user