'Reread global config options for all drones.'

def refresh_drone_configs(self):

    section = scheduler_config.CONFIG_SECTION
    settings.parse_config_file()
    for (hostname, drone) in self._drones.iteritems():
        disabled = settings.get_value(section, ('%s_disabled' % hostname), default='')
        drone.enabled = (not bool(disabled))
        drone.max_processes = settings.get_value(section, ('%s_max_processes' % hostname), type=int, default=scheduler_config.config.max_processes_per_drone)
        allowed_users = settings.get_value(section, ('%s_users' % hostname), default=None)
        if (allowed_users is not None):
            allowed_users = set(allowed_users.split())
        drone.allowed_users = allowed_users
    self._reorder_drone_queue()
