-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add limit of events data length when query from db #304
Conversation
YoloMao
commented
Mar 27, 2024
•
edited
Loading
edited
- 添加从数据库获取事件的 data 总长度限制:2MB
- 修复在打开 ASAEnabled 时,因 ACTIVATE 事件延迟发送,从而 events.count 可能为 0,对应的 URLRequest 生成为 nil,导致崩溃产生
- 修复其他可能导致崩溃的场景
- vacuum 操作改为 3 天/次
- 将 encryptEnabled 配置分为 compressEnabled (默认 false) 和 encryptEnabled (默认 false)
- 在 release 环境下,将不再由于 debugEnabled 为 true 而频繁发送事件
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #304 +/- ##
==========================================
+ Coverage 82.18% 82.71% +0.53%
==========================================
Files 140 140
Lines 10090 10115 +25
==========================================
+ Hits 8292 8367 +75
+ Misses 1798 1748 -50 ☔ View full report in Codecov by Sentry. |
This reverts commit 20b8853.
…essEnabled, compressEnabled is true in default
6f56101
to
07f8ec9
Compare
Quality Gate passedIssues Measures |