'Load limits from the configuration file, if it exists.'

def load_limits(self, config):

    self._limits['history_size'] = 28800
    if (not hasattr(config, 'has_section')):
        return False
    if config.has_section('global'):
        self._limits['history_size'] = config.get_float_value('global', 'history_size', default=28800)
        logger.debug('Load    configuration    key:    {}    =    {}'.format('history_size', self._limits['history_size']))
    if config.has_section(self.plugin_name):
        for (level, _) in config.items(self.plugin_name):
            limit = '_'.join([self.plugin_name, level])
            try:
                self._limits[limit] = config.get_float_value(self.plugin_name, level)
            except ValueError:
                self._limits[limit] = config.get_value(self.plugin_name, level).split(',')
            logger.debug('Load    limit:    {}    =    {}'.format(limit, self._limits[limit]))
    return True
