We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
DEFAULT_SINGLE_DAY_MAX_SIZE
The text was updated successfully, but these errors were encountered:
上层的LoganConfig可以调整,我记得可以设置?
Sorry, something went wrong.
@Richard-Cao 很明显并没有, Logan/WebSDK/src/lib/logan-db.ts 中 const DEFAULT_SINGLE_DAY_MAX_SIZE = 7 * M_BYTE; // 7M storage limit for one day, 我可以去定制修改, 但工作量落在了我对大数据量的压测, 所以,想请问的是, 针对7M的限制, 除了用户感知方面的考虑, 还有性能或者别的设计上的考量吗? 我现在压测的极值是,单天存储300m,上传300M(分片1M), 没有问题
const DEFAULT_SINGLE_DAY_MAX_SIZE = 7 * M_BYTE; // 7M storage limit for one day
我估计web这个是参考了端sdk的设计,不过端sdk是有config支持自己上层设置大小的
No branches or pull requests
log-web日志7m限制调整
看代码只有log方法存储时候有限制, report接口并没有限制, 诉求是, web端的日志, 每日大小为7M左右, 我想要修改一下
DEFAULT_SINGLE_DAY_MAX_SIZE
参数的限制, 想要请问下, 如果修改这个限制, 有什么最佳实践么? 需要着重考虑什么么The text was updated successfully, but these errors were encountered: