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

Skip to content
Snippets Groups Projects
Commit 5e094b43 authored by jrandom's avatar jrandom Committed by zzz
Browse files

2005-11-21 jrandom

    * IE doesn't strip SPAN from <button> form fields, so add in a workaround
      within I2PTunnel.
    * Increase the maximum SSU retransmission timeout to accomodate slower or
      more congested links (though SSU's RTO calculation will usually use a
      much lower timeout)
    * Moved the streaming lib timed events off the main timer queues and onto
      a streaming lib specific set of timer queues.  Streaming lib timed
      events are more likely to have lock contention on the I2CP socket while
      other timed events in the router are (largely) independent.
    * Fixed a case sensitive lookup bug (thanks tino!)
    * Syndie cleanup - new edit form on the preview page, and fixed some blog
      links (thanks tino!)
parent 33d57dd5
No related branches found
No related tags found
No related merge requests found
...@@ -26,19 +26,20 @@ public class SimpleTimer { ...@@ -26,19 +26,20 @@ public class SimpleTimer {
private Map _eventTimes; private Map _eventTimes;
private List _readyEvents; private List _readyEvents;
private SimpleTimer() { protected SimpleTimer() { this("SimpleTimer"); }
protected SimpleTimer(String name) {
_context = I2PAppContext.getGlobalContext(); _context = I2PAppContext.getGlobalContext();
_log = _context.logManager().getLog(SimpleTimer.class); _log = _context.logManager().getLog(SimpleTimer.class);
_events = new TreeMap(); _events = new TreeMap();
_eventTimes = new HashMap(1024); _eventTimes = new HashMap(1024);
_readyEvents = new ArrayList(4); _readyEvents = new ArrayList(4);
I2PThread runner = new I2PThread(new SimpleTimerRunner()); I2PThread runner = new I2PThread(new SimpleTimerRunner());
runner.setName("SimpleTimer"); runner.setName(name);
runner.setDaemon(true); runner.setDaemon(true);
runner.start(); runner.start();
for (int i = 0; i < 3; i++) { for (int i = 0; i < 3; i++) {
I2PThread executor = new I2PThread(new Executor()); I2PThread executor = new I2PThread(new Executor());
executor.setName("SimpleTimerExecutor " + i); executor.setName(name + "Executor " + i);
executor.setDaemon(true); executor.setDaemon(true);
executor.start(); executor.start();
} }
......
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