Changes

Summary

  1. fix:修复大数据导致后端卡死的bug && 重构录制 根据mode决定是否写入数据库 && 优化结构 (details)
Commit a19472425b42db447d4421cb534828f3e6cfeff0 by haoxiangtao
fix:修复大数据导致后端卡死的bug && 重构录制 根据mode决定是否写入数据库 && 优化结构


(cherry picked from commit 9df0e494526f404589ca9a5b61fec77bd30b91b8)

(cherry picked from commit dcc05594c0fd45a147436eed03812b2c7d439759)

(cherry picked from commit f3d78802be3891c5b9d21c89c56217354a1b0848)
The file was modifiedbackend/models/heatmap_ins.js
The file was modifiedsnapshot_store/mqtt_source/mqtt_subscribe_v2.hpp
The file was modifiedsnapshot_store/mqtt_source/mqtt_source_snapshot.hpp