Make message handling more synchronous and fill history on portal create
This commit is contained in:
@ -55,6 +55,11 @@ func (ext *ExtendedConn) handleMessageConn(message []byte) {
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
connInfoHandler.HandleConnInfo(event)
|
||||
|
||||
if ext.shouldCallSynchronously(connInfoHandler) {
|
||||
connInfoHandler.HandleConnInfo(event)
|
||||
} else {
|
||||
go connInfoHandler.HandleConnInfo(event)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user