[sr-dev] git:3.1: mqueue: decrease number of items when size limit is reached