farm_name: xdmy001 app_name: kpt-pasture app_environment: test debug: true http_server_addr: ':8090' http_metrics_addr: ':23332' jwt_expire_time: 172800 neck_ring_limit: 100 store: show_sql: true driver_name: mysql kpt_rw: "kpt_pasture:4~H@InK6jK@tcp(47.92.95.119:3326)/kpt_pasture?charset=utf8mb4&parseTime=true&loc=Local&allowNativePasswords=true&timeout=600s&readTimeout=600s&writeTimeout=600s" kpt_migr: "kpt_pasture:4~H@InK6jK@tcp(47.92.95.119:3326)/kpt_pasture?charset=utf8mb4&parseTime=true&loc=Local&allowNativePasswords=true&timeout=600s&readTimeout=600s&writeTimeout=600s" kpt_mqtt: "kpt_mqtt:kpt_mqtt!1234@tcp(47.92.95.119:3326)/kpt_pasture?charset=utf8mb4&parseTime=true&loc=Local&allowNativePasswords=true&timeout=600s&readTimeout=600s&writeTimeout=600s" redis_setting: cache_redis: addr: '47.92.95.119:6389' db: 11 requirepass: "root" expiry: 120 jwt_secret: "sUd7j%UfJMt59ywh" side_work_setting: asynq_setting: redis: addr: '47.92.95.119:6389' db: 0 pool_size: 10 password: "root" concurrency: 5 queues: work: 20 low: 10 default: 5 cron: crontab_start_run: false update_cow_info: "0 01 1 * * ?" # 每天凌晨1点01分执行 indicators: "0 30 11 * * ?" # 每天凌晨1点03分执行 generate_work_order: "0 05 1 * * ?" # 每天凌晨1点05分执行 immunization_plan: "0 10 1 * * ?" # 每天凌晨1点10分执行 same_time_plan: "0 15 1 * * ?" # 每天凌晨1点15分执行 update_same_time: "0 20 1 * * ?" # 每天凌晨1点20分执行 system_basic_crontab: "0 25 1 * * ?" # 每天凌晨1点25分执行 delete_old_original: "0 30 1 * * ?" # 每天凌晨1点30分执行 cow_pregnant: "0 00 15 * * ?" # 每天15点执行 neck_ring_estrus: "0 45 * * * ?" # 更新脖环发情数据 neck_ring_merge: "*/5 * * * * ?" # 合并脖环原始2小时数据(5分钟) neck_ring_calculate: "*/10 * * * * ?" # 计算脖环数据 mqtt: broker: "kptyun.com:1983" username: "kptmqtt" password: "kepaiteng" sub_topic: "/user/heatwatch/neckring/post" qos: 0 retain: false keep_alive: 60 connect_timeout: 10 auto_reconnect: true reconnect_interval: 10 work_number: 1 merge_data_ticker: 2 # 2分钟合并一次数据