Skip to content

Commit

Permalink
Revert "pass the error code instead of the retries count"
Browse files Browse the repository at this point in the history
This reverts commit 3261877.
  • Loading branch information
remyperona committed Dec 11, 2023
1 parent 3261877 commit fb65f67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function execute( object $row_details, array $job_details ): void {
return;
}

$this->used_css_query->increment_retries( $row_details->id, (int) $job_details['code'], $job_details['message'] );
$this->used_css_query->increment_retries( $row_details->id, (int) $row_details->retries, $job_details['message'] );

$rucss_retry_duration = $this->time_table_retry[ $row_details->retries ] ?? $this->default_waiting_retry; // Default to 30 minutes.

Expand Down

0 comments on commit fb65f67

Please sign in to comment.