ibm-cloud-solutions / hubot-ibmcloud-formatter

Listens for messages and formats them appropriately for the given hubot adapter
http://www.ibm.com/
Other
0 stars 0 forks source link

Support long/large slack attachments #2

Closed clanzen closed 8 years ago

clanzen commented 8 years ago

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.

coveralls commented 8 years ago

Coverage Status

Coverage increased (+0.08%) to 98.311% when pulling 67d2c79fa82a254580373939b30b6a5d35015483 on support_many_attachments into c62f94e112ead58ee27809fac624faf7c0c4f287 on master.

ramaboggarapu commented 8 years ago

+1