Hi !

Question regarding the ticker:

ConnectionHandler.java line 270 sais:
  t.add(0, msg);

which does nothing more, but start a new thread to handle the msg.
Why not start the thread at once ?

I think many of the BadStateExceptions (I get quite some under load in
my log), are caused my messages overtaking each other.
Placing messages in a heap (in the ticker) does not improve this.
I do not know if the protocol depends on the order of messages (I think 
it does ?), but if
so, this has to be changed.

Niklas




_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to