From 493e07ee96181fb559be4970ff761d9c19920c0a Mon Sep 17 00:00:00 2001 From: Gowri Date: Sat, 29 Jun 2024 15:05:54 +0930 Subject: [PATCH] :memo: update docs --- Service/AsyncEvent/RetryManager.php | 2 +- Test/Integration/FailoverTopologyTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Service/AsyncEvent/RetryManager.php b/Service/AsyncEvent/RetryManager.php index b89f4fe..141042c 100644 --- a/Service/AsyncEvent/RetryManager.php +++ b/Service/AsyncEvent/RetryManager.php @@ -165,7 +165,7 @@ private function assertDelayQueue(int $backoff, string $queueName, string $retry } /** - * Exponential back off. Change the exponent to determine cubical back off or quartic back off + * Quadratic back off: x^2 * * @param int $deathCount * @return int diff --git a/Test/Integration/FailoverTopologyTest.php b/Test/Integration/FailoverTopologyTest.php index 8899b61..7832071 100644 --- a/Test/Integration/FailoverTopologyTest.php +++ b/Test/Integration/FailoverTopologyTest.php @@ -78,7 +78,7 @@ public function testDelayQueueCreation(): void }, $bindings); /** - * Exponential backoff delay queues + * Quadratic backoff delay queues */ $this->assertContains('event.retry.init', $destinations); $this->assertContains('event.delay.4', $destinations);