1
This commit is contained in:
@@ -17,6 +17,8 @@ REDIS_CONFIG = {
|
||||
SYNC_CONFIG = {
|
||||
'interval': int(os.getenv('SYNC_INTERVAL', 60)), # 同步间隔(秒)
|
||||
'recent_days': int(os.getenv('RECENT_DAYS', 3)), # 同步最近几天数据
|
||||
'recent_days_account': int(os.getenv('ACCOUNT_SYNC_RECENT_DAYS', 3)), # 同步最近几天数据
|
||||
'recent_days_order': int(os.getenv('ORDER_SYNC_RECENT_DAYS', 3)), # 同步最近几天数据
|
||||
'chunk_size': int(os.getenv('CHUNK_SIZE', 1000)), # 批量处理大小
|
||||
'enable_position_sync': os.getenv('ENABLE_POSITION_SYNC', 'true').lower() == 'true',
|
||||
'enable_order_sync': os.getenv('ENABLE_ORDER_SYNC', 'true').lower() == 'true',
|
||||
|
||||
Reference in New Issue
Block a user