同步限制

This commit is contained in:
邓皓元 2019-02-08 08:40:02 +08:00
parent f8d64129b2
commit 31fe26d1c5
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

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