Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 9a446821389f64720e3e2ab9228d864b07fa4345 Author: James Lu <james@overdrivenetworks.com> Date: Wed Jun 24 14:57:37 2020 +0000 Skip gIRC built-in rate limiting (irc) (#1164) By default, gIRC rate limits all outgoing messages. Since matterbridge already implements message throttling, this is extra layer of throttling is not necessary. diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index 6e97996..6db062c 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -2506 +2508 @@ func (b *Birc) getClient() (*girc.Client, error) {   SSL: b.GetBool("UseTLS"),   TLSConfig: &tls.Config{InsecureSkipVerify: b.GetBool("SkipTLSVerify"), ServerName: server}, //nolint:gosec   PingDelay: time.Minute, + // skip gIRC internal rate limiting, since we have our own throttling + AllowFlood: true,   })   return i, nil  }