同步限制
This commit is contained in:
parent
f8d64129b2
commit
31fe26d1c5
@ -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';
|
||||||
|
|
||||||
|
@ -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()
|
||||||
{
|
{
|
||||||
|
@ -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()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user