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=300s&readTimeout=300s&writeTimeout=300s" kpt_migr: "kpt_pasture:4~H@InK6jK@tcp(47.92.95.119:3326)/kpt_pasture?charset=utf8mb4&parseTime=true&loc=Local&allowNativePasswords=true&timeout=300s&readTimeout=300s&writeTimeout=300s" 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: 0 requirepass: "root" expiry: 120 jwt_secret: "sUd7j%UfJMt59ywh" cache_key_suffix: "gmym" cron: crontab_start_run: false update_cow_info: "0 01 1 * * ?" indicators: "0 24 10 * * ?" generate_work_order: "0 05 1 * * ?" immunization_plan: "0 10 1 * * ?" same_time_plan: "0 15 1 * * ?" update_same_time: "0 20 1 * * ?" system_basic_crontab: "0 25 1 * * ?" cow_pregnant: "0 00 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分钟合并一次数据