change from sleep to usleep for mollie

This commit is contained in:
David Bomba 2024-08-30 13:36:21 +10:00
parent a4a2e237db
commit 1241d8226d

View File

@ -286,7 +286,8 @@ class MolliePaymentDriver extends BaseDriver
public function processWebhookRequest(PaymentWebhookRequest $request) public function processWebhookRequest(PaymentWebhookRequest $request)
{ {
// Allow app to catch up with webhook request. // Allow app to catch up with webhook request.
sleep(4); // sleep(4);
usleep(2800000, 4000000);
$validator = Validator::make($request->all(), [ $validator = Validator::make($request->all(), [
'id' => ['required', 'starts_with:tr'], 'id' => ['required', 'starts_with:tr'],