def ha_get_delay_policy(self, config_name):
config = self.ha_get_config(config_name)<EOL>delay_policy_conf = config.delay_config<EOL>delay_policy_conf = copy.deepcopy(delay_policy_conf)<EOL>delay_policy_conf.update(delay=config.delay)<EOL>return self._retry_delays_class.get(<EOL>config.delay_policy,<EOL>**delay_policy_conf<EOL>)<EOL>
Build generator of delays to wait between each call

        :param string config_name: configuration name