From d1ab82f06c63570acbe2917a64789f4ef8b6e4f2 Mon Sep 17 00:00:00 2001 From: Bozhidar Slaveykov Date: Sun, 7 Apr 2024 16:34:10 +0300 Subject: [PATCH] Update ApachePingWebsitesWithCurl.php --- web/app/Console/Commands/ApachePingWebsitesWithCurl.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/Console/Commands/ApachePingWebsitesWithCurl.php b/web/app/Console/Commands/ApachePingWebsitesWithCurl.php index 11bd8c8..fa129cb 100644 --- a/web/app/Console/Commands/ApachePingWebsitesWithCurl.php +++ b/web/app/Console/Commands/ApachePingWebsitesWithCurl.php @@ -29,9 +29,9 @@ class ApachePingWebsitesWithCurl extends Command public function handle() { $findCustomer = \App\Models\Customer::first(); - $findHostingPlan = \App\Models\HostingPlan::first(); + $findHostingPlan = \App\Models\HostingPlan::where('id',2)->first(); - for ($i = 0; $i <= 50000; $i++) { + for ($i = 0; $i <= 1000; $i++) { $newSubscription = new \App\Models\HostingSubscription(); $newSubscription->customer_id = $findCustomer->id; $newSubscription->hosting_plan_id = $findHostingPlan->id;