Make msg_batcher handle low memory situations better
msg_batcher can easily run out of memory, could auto-flush when lua allocated or max free reaches threshold. Support in the msg API would also help (how much memory is used by pending unread messages, size of message, wait until pending read and then try again)
Leave a comment