Skip to content
Permalink
Browse files
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.
  • Loading branch information
jlu5 committed Jun 24, 2020
1 parent 5847f77 commit 37f7caf
Showing 1 changed file with 2 additions and 0 deletions.
@@ -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
}

0 comments on commit 37f7caf

Please sign in to comment.