def reload(self):
<EOL>if not self.pending.acquire(False):<EOL><INDENT>return<EOL><DEDENT>control_args = self.config['<STR_LIT>']<EOL>try:<EOL><INDENT>key = control_args.get('<STR_LIT>', '<STR_LIT>')<EOL>self.limits.set_limits(self.db.zrange(key, <NUM_LIT:0>, -<NUM_LIT:1>))<EOL><DEDENT>except Exception:<EOL><INDENT>LOG.exception("<STR_LIT>")<EOL>error_key = control_args.get('<STR_LIT>', '<STR_LIT>')<EOL>error_channel = control_args.get('<STR_LIT>', '<STR_LIT>')<EOL>msg = "<STR_LIT>" + traceback.format_exc()<EOL>with utils.ignore_except():<EOL><INDENT>self.db.sadd(error_key, msg)<EOL><DEDENT>with utils.ignore_except():<EOL><INDENT>self.db.publish(error_channel, msg)<EOL><DEDENT><DEDENT>finally:<EOL><INDENT>self.pending.release()<EOL><DEDENT>
Reloads the limits configuration from the database.

If an error occurs loading the configuration, an error-level
log message will be emitted.  Additionally, the error message
will be added to the set specified by the 'redis.errors_key'
configuration ('errors' by default) and sent to the publishing
channel specified by the 'redis.errors_channel' configuration
('errors' by default).