通过API查询录像文件会导致SyncRecord崩溃

Viewed 6

通过API查询录像文件,起止时间长一点,如一整天,会导致SyncRecord崩溃。

SyncRecord 的 app.log 中有如下内容:

{"level":"warn","ts":"2026-04-27 10:48:46.452","msg":"Plugin recv error","err":"rpc error: code = ResourceExhausted desc = grpc: received message larger than max (5041291 vs. 4194304)"}

{"level":"error","ts":"2026-04-27 10:49:17.987","msg":"获取host存储路径失败","stacktrace":"log/slog.Error\n\tlog/slog/logger.go:311\nrecordsync/pkg/filesync2.(*SyncManager).doScanOnce\n\trecordsync/pkg/filesync2/core_scan.go:314\nrecordsync/pkg/filesync2.(*SyncManager).scanDisk\n\trecordsync/pkg/filesync2/core_scan.go:229"}
0 Answers