using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace JiShe.CollectBus.DataMigration.Options
{
///
/// 数据迁移配置
///
public class DataMigrationOptions
{
///
/// MongoDb每批处理量
///
public int MongoDbDataBatchSize { get; set; } = 1000;
///
/// 批量处理通道容量
///
public int ChannelCapacity { get; set; } = 100;
///
/// 数据库 每批处理量
///
public int SqlBulkBatchSize { get; set; } = 1000;
///
/// 数据库 每批处理超时时间
///
public int SqlBulkTimeout { get; set; } = 60;
///
/// 处理器数量
///
public int ProcessorsCount { get; set; } = 4;
}
}