diff --git a/classes.py b/classes.py index 16f02b1..a97126d 100644 --- a/classes.py +++ b/classes.py @@ -1931,7 +1931,7 @@ class IRCNetwork(PyLinkNetworkCoreWithUtils): def _process_queue(self): """Loop to process outgoing queue data.""" while True: - throttle_time = self.serverdata.get('throttle_time', 0.005) + throttle_time = self.serverdata.get('throttle_time', 0) if not self._aborted.wait(throttle_time): data = self._queue.get() if data is None: diff --git a/example-conf.yml b/example-conf.yml index 2ee27da..bd43d81 100644 --- a/example-conf.yml +++ b/example-conf.yml @@ -472,7 +472,7 @@ servers: # Message throttling: when set to a non-zero value, only one message will be sent every X # seconds. If your bot is constantly running into Excess Flood errors, raising this to - # something like 0.5 or 1.0 should help. Defaults to 0.005 if not set. + # something like 0.5 or 1.0 should help. Since PyLink 2.0.2, this defaults to 0 if not set. throttle_time: 0.3 # Determines whether messages from unknown clients (servers, clients not sharing in a -n