Without this change, an emit with a large number of attachments will produce no output on slack. I believe it was getting into the limitation of 16k in size limitation. This change breaks down the sending into chunks of 50 attachments at a time.
Coverage increased (+0.08%) to 98.311% when pulling 67d2c79fa82a254580373939b30b6a5d35015483 on support_many_attachments into c62f94e112ead58ee27809fac624faf7c0c4f287 on master.
Without this change, an emit with a large number of attachments will produce no output on slack. I believe it was getting into the limitation of 16k in size limitation. This change breaks down the sending into chunks of 50 attachments at a time.