update staging pushing, push 100 data per 10 minutes

This commit is contained in:
Edmond Lang
2025-10-26 18:07:19 +08:00
parent 3b3e20d781
commit 12dcb65513
@@ -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).");