mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge pull request #94 from woocommerce/PCP-60-high-volume-of-failed-calls-to--v
Do not reschedule webhook registration on creation failure
This commit is contained in:
commit
6fad09efb3
1 changed files with 0 additions and 4 deletions
|
@ -83,10 +83,6 @@ class WebhookRegistrar {
|
|||
);
|
||||
return true;
|
||||
} catch ( RuntimeException $error ) {
|
||||
wp_schedule_single_event(
|
||||
time() - 1,
|
||||
self::EVENT_HOOK
|
||||
);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue