You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownew \InvalidArgumentException('The "backoff_service" option cannot be used along with the "delay", "multiplier", "max_delay" or "jitter" options.');
1646
-
}
1647
-
if (isset($v['decider_service']) && (isset($v['http_codes']))) {
1648
-
thrownew \InvalidArgumentException('The "decider_service" option cannot be used along with the "http_codes" options.');
thrownew \InvalidArgumentException('The "retry_strategy" option cannot be used along with the "http_codes", "delay", "multiplier", "max_delay" or "jitter" options.');
1649
1646
}
1650
1647
1651
1648
return$v;
1652
1649
})
1653
1650
->end()
1654
1651
->children()
1655
-
->scalarNode('backoff_service')->defaultNull()->info('service id to override the retry backoff')->end()
1656
-
->scalarNode('decider_service')->defaultNull()->info('service id to override the retry decider')->end()
1652
+
->scalarNode('retry_strategy')->defaultNull()->info('service id to override the retry strategy')->end()
1657
1653
->arrayNode('http_codes')
1658
1654
->performNoDeepMerging()
1659
1655
->beforeNormalization()
@@ -1668,9 +1664,9 @@ private function addHttpClientRetrySection()
->integerNode('delay')->defaultValue(1000)->min(0)->info('Time in ms to delay (or the initial value when multiplier is used)')->end()
1671
-
->floatNode('multiplier')->defaultValue(2)->min(1)->info('If greater than 1, delay will grow exponentially for each retry: (delay * (multiple ^ retries))')->end()
1667
+
->floatNode('multiplier')->defaultValue(2)->min(1)->info('If greater than 1, delay will grow exponentially for each retry: delay * (multiple ^ retries)')->end()
1672
1668
->integerNode('max_delay')->defaultValue(0)->min(0)->info('Max time in ms that a retry should ever be delayed (0 = infinite)')->end()
1673
-
->floatNode('jitter')->defaultValue(0.1)->min(0)->max(1)->info('Randomness in percent (between 0 and 1)) to apply to the delay')->end()
1669
+
->floatNode('jitter')->defaultValue(0.1)->min(0)->max(1)->info('Randomness in percent (between 0 and 1) to apply to the delay')->end()
0 commit comments