同步条数

This commit is contained in:
邓皓元 2019-02-08 07:48:16 +08:00
parent a8fcef6f14
commit bd5ed09cb6
4 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ class Kernel extends ConsoleKernel
{
$logPath = storage_path('logs/artisan.log');
$schedule->command('real:sync-mongo')->cron('* * * * *')->withoutOverlapping()->appendOutputTo($logPath);
$schedule->command('virtual:sync-card')->cron('* * * * *')->withoutOverlapping()->appendOutputTo($logPath);
// $schedule->command('virtual:sync-card')->cron('* * * * *')->withoutOverlapping()->appendOutputTo($logPath);
// $schedule->command('virtual:sync-log')->cron('* * 1 * *')->withoutOverlapping()->appendOutputTo($logPath);
}

View File

@ -17,7 +17,7 @@ class MongoSync extends Command
protected $description = '同步卡基础信息数据';
protected $limit = 100;
protected $limit = 10000;
const CURSOR_KEY = 'sync_mongo_cursor';

View File

@ -20,7 +20,7 @@ class CardSync extends Command
const CURSOR_KEY = 'sync_card_cursor';
protected $limit = 100;
protected $limit = 10000;
public function handle()
{

View File

@ -23,7 +23,7 @@ class LogSync extends Command
const CURSOR_KEY = 'sync_log_cursor';
protected $limit = 100;
protected $limit = 10000;
public function handle()
{