process connection messages on main run thread
This commit is contained in:
parent
3648c1eb0e
commit
fa375b3cbd
1 changed files with 1 additions and 1 deletions
|
@ -872,7 +872,7 @@ public class Connection implements HasCapabilities, Runnable, MessageListener {
|
|||
log.info("We got a {} from a peer with yet unknown address on connection with uid={}", networkEnvelope.getClass().getSimpleName(), uid);
|
||||
}
|
||||
|
||||
ThreadUtils.execute(() -> onMessage(networkEnvelope, this), THREAD_ID);
|
||||
onMessage(networkEnvelope, this);
|
||||
ThreadUtils.execute(() -> connectionStatistics.addReceivedMsgMetrics(System.currentTimeMillis() - ts, size), THREAD_ID);
|
||||
}
|
||||
} catch (InvalidClassException e) {
|
||||
|
|
Loading…
Reference in a new issue