[Twisted-Python] IRC & Excess-Flood
ttimo at idsoftware.com
Fri Dec 12 07:22:17 EST 2003
Last time I looked, lineRate used a simple delaying algorithm, which is
quite far from what the ircd does for rate control. It should work fairly
well if you set it to something ( default is no rate control ), but it's
far from optimal.
On Fri, 12 Dec 2003 20:14:21 +1100
Andrew Bennetts <andrew-twisted at puzzling.org> wrote:
> On Fri, Dec 12, 2003 at 09:50:43AM +0100, Timothee Besset wrote:
> > The IRC RFCs describe the flood protection mecanism that's used in IRC
> > daemons. The IRC protocol in twisted doesn't do any rate limitation, it
> Actually, it does. IRCClient has a lineRate attribute that controls rate
> limiting. See the docstring for details.
>  It really should be called lineDelay, because as the docstring says,
> it's the delay, not the rate. Oh well.
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
More information about the Twisted-Python