When a lot of messages are received, there are some performance issues. Possible culprits - all (!) received messages are stored in a dict - this dict is mapped and sorted before slicing the last 10 off of it
When a lot of messages are received, there are some performance issues. Possible culprits