From 37f7caf7f398bfab7acffe3e0dda443ed2ca041d Mon Sep 17 00:00:00 2001 From: James Lu Date: Wed, 24 Jun 2020 14:57:37 -0700 Subject: 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. --- bridge/irc/irc.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bridge/irc') diff --git a/bridge/irc/irc.go b/bridge/irc/irc.go index 6e97996f..6db062ce 100644 --- a/bridge/irc/irc.go +++ b/bridge/irc/irc.go @@ -250,6 +250,8 @@ 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 } -- cgit v1.2.3