Closed Amunak closed 8 years ago
We probably want timers to be implemented for this.
Yeah some kind of timing will have to be involved. I was thinking of somewhat "hard coding" it but if we make timers I guess we can just use those.
Should we implement the new queue manager around the say method in Bot.php?
We can implement queues on all outgoing data, and have a timer for the flush. How about, say, 3 seconds? Or would that cause too big of a delay?
This can be implemented in the module that is going to handle connections, possibly? Another possibility would be to create a generic flood control module based on callbacks etc.
Duplicate of #65, closing.
This is pretty important before we can go live with the rewrite, since an error or something may get the bot easily kicked for flood and potentially k-lined from the server.