diff --git a/app/Console/Commands/LarkPushBookingTransactionsModuleCommand.php b/app/Console/Commands/LarkPushBookingTransactionsModuleCommand.php index 33b9348e..861b757d 100644 --- a/app/Console/Commands/LarkPushBookingTransactionsModuleCommand.php +++ b/app/Console/Commands/LarkPushBookingTransactionsModuleCommand.php @@ -13,7 +13,7 @@ use Illuminate\Support\Facades\Log; class LarkPushBookingTransactionsModuleCommand extends Command { - protected $signature = 'lark:push-booking-transactions-module {--limit=500}'; + protected $signature = 'lark:push-booking-transactions-module {--limit=100}'; protected $description = 'Send booking transactions records to a Lark webhook, one by one.'; public function handle(): int @@ -110,7 +110,8 @@ class LarkPushBookingTransactionsModuleCommand extends Command ]); } - sleep(1); + // sleep(1); + usleep(100000); //0.1 second } $this->info("[Lark " . $module . "] Finished {$bookingTransactions->count()} record(s).");