File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public function getWorkerInstancesCount(): int
5959 return $ this ->config ['worker ' ]['instances ' ];
6060 }
6161
62- public function getWorkerReleaseDelay (): int
62+ public function getWorkerErrorRetryDelay (): int
6363 {
6464 return $ this ->config ['worker ' ]['error_retry_delay ' ];
6565 }
Original file line number Diff line number Diff line change @@ -131,10 +131,10 @@ public function boot(): Promise
131131 continue ;
132132 }
133133
134- yield $ this ->queueBackend ->requeue ($ job , $ this ->flowConfig ->getWorkerReleaseDelay ());
134+ yield $ this ->queueBackend ->requeue ($ job , $ this ->flowConfig ->getWorkerErrorRetryDelay ());
135135 $ this ->logger ->info (
136136 'Worker released a Job ' ,
137- array_merge ($ logContext , ['error_retry_delay ' => $ this ->flowConfig ->getWorkerReleaseDelay ()])
137+ array_merge ($ logContext , ['error_retry_delay ' => $ this ->flowConfig ->getWorkerErrorRetryDelay ()])
138138 );
139139 }
140140 }
You can’t perform that action at this time.
0 commit comments