mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-29 17:34:02 +00:00
update staging pushing, push 100 data per 10 minutes
This commit is contained in:
@@ -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).");
|
||||
|
||||
Reference in New Issue
Block a user