Limit automatic messages

Hello guys,

I’m running RC v1.2.1 and we are sending some automatic log messages via API to one specific channel.
Sometimes, not really often, it can happen that the same message will be sent like over 1000 times which causes the channel to crash.

My question: Is it easily possible to limit those messages or not sending dupllicated messages?

Currently we are deleting messages older than 24 hours, but that’s not the solution for the crash.

Cheers,
Maik