Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Correct typo in HOUR_IN_SECONDS.
Browse files Browse the repository at this point in the history
  • Loading branch information
desrosj committed Aug 23, 2022
1 parent c8b4473 commit 60183f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public static function throttle() {
if ( $retry_count <= 5 ) {
$timeout = MINUTE_IN_SECONDS * $retry_count;
} elseif ( $retry_count < 10 ) {
$timeout = HOURS_IN_SECONDS * $retry_count;
$timeout = HOUR_IN_SECONDS * $retry_count;
} else {
$timeout = WEEK_IN_SECONDS;
$retry_count = 0;
Expand Down

0 comments on commit 60183f3

Please sign in to comment.