| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- 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 0 23 * * ?" # 每天凌晨1点03分执行
- generate_work_order: "0 05 1 * * ?"
- immunization_plan: "0 10 1 * * ?"
- same_Time_plan: "0 15 1 * * ?"
- update_same_time: "0 20 1 * * ?"
- delete_old_original: "0 30 1 * * ?" # 每天凌晨1点30分执行
- system_basic_crontab: "0 35 1 * * ?"
- update_disease_to_calendar: "0 50 1 * * ?"
- cow_pregnant: "0 01 15 * * ?"
- neck_ring_estrus: "0 45 * * * *" # 每小时的45分钟执行一次
- neck_ring_merge: "*/60 * * * * ?" # 合并脖环原始2小时数据(5分钟)
- neck_ring_calculate: "*/300 * * * * ?" # 计算脖环数据
- neck_ring_estrus_warning: "* */30 * * * ?" # 脖环发情预警(每50分钟执行一次
- neck_ring_health_warning: "* */30 * * * ?" # 脖环健康预警
- update_pen_behavior: "0 */20 * * * ?" # 更新栏舍行为数据(20分钟执行一次)
- update_pen_behavior_daily: "0 50 15 * * ?" # 更新栏舍饲养监测数据
- update_milk_original: "0 */30 * * * ?" # 更新奶厅原始数据(每30分钟执行一次)
- insert_milk_daily: "0 05 02 * * ?" # 更新每日奶量和活动量数据
- 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分钟合并一次数据
|