mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-09 15:40:27 +00:00
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.
This commit is contained in:
parent
5847f7758c
commit
37f7caf7f3
@ -250,6 +250,8 @@ func (b *Birc) getClient() (*girc.Client, error) {
|
|||||||
SSL: b.GetBool("UseTLS"),
|
SSL: b.GetBool("UseTLS"),
|
||||||
TLSConfig: &tls.Config{InsecureSkipVerify: b.GetBool("SkipTLSVerify"), ServerName: server}, //nolint:gosec
|
TLSConfig: &tls.Config{InsecureSkipVerify: b.GetBool("SkipTLSVerify"), ServerName: server}, //nolint:gosec
|
||||||
PingDelay: time.Minute,
|
PingDelay: time.Minute,
|
||||||
|
// skip gIRC internal rate limiting, since we have our own throttling
|
||||||
|
AllowFlood: true,
|
||||||
})
|
})
|
||||||
return i, nil
|
return i, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user