Details

Description

Currently a ring+priority queue works by removing the lowest priority message
if the limit is reached. However it does not consider whether the new message
is actually of lower priority than the one being displaced. A lower priority
message should not displace a higher-priority message.