From 12dcb655138bdaf54668cffe53a716548988288c Mon Sep 17 00:00:00 2001 From: Edmond Lang Date: Sun, 26 Oct 2025 18:07:19 +0800 Subject: [PATCH] update staging pushing, push 100 data per 10 minutes --- .../Commands/LarkPushBookingTransactionsModuleCommand.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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).");