On Mon, 12 Apr 2004 15:45:09 -0400, Rocco Caputo wrote:
>> 
>> is there any way to get the PoCo::IRC to relieve the iron grasp on the
>> eventloop while it is dripping at nearly unbearable speed (i type myself
>>     much faster....) the data to the user?
> 
> PoCo::IRC's flood protection code buffers messages so they can be sent
> at a rate that won't flood programs off.  Ircds, you see, also
> throttle messages, and if too many accumulate on the server, they will
> disconnect you.
> 

In my case I control the IRCD and have set the flood limit very high so
I'm not worried about the bot flooding off. I think it is great that the
flood control is there but would love an easier method of lowering the
delay, as well as simply turning off delay.

> As was mentioned in another message, you can set Flood => 1 (in the
> connect message you send to PoCo::IRC).  That disables PoCo::IRC's
> flood protection, permitting it to send messages to the server at full
> speed.  I've sent Dennis a patch to document the Flood parameter, so
> it won't be obscure for much longer.
> 

I guess this is really the heart of my query. I tried the Flood => 1
before I posted as well as directly hacking the dont_flood = 1 to 0 in
IRC.pm. Neither of these had any affect on the posting rate.

As I said I control the IRCD, and the bot and ircd live on the same
machine so I'm 99% sure its PoCo::IRC. I found out about the Flood => 1
from and old post http://dbforums.com/arch/96/2003/3/710405 that Rocco
replied to, the upshot of that was the user also thought dont_flood had no
effect.

Can anyone verify for me that under

Perl 5.8.0
POE version 0.2802
POE::Component::IRC version 2.9

Flood => 1 works. If so then ;) hey I've got problems I'll need to try
harder to solve.


Mike Tremaine
[EMAIL PROTECTED]

PS - Hi bboett long time, its Tiran.


Reply via email to