MK (fengmk2)

Results 691 comments of MK (fengmk2)

@shilucus 还没想好如何处理,最近遇到磁盘满了日志内存占用积压的问题 https://github.com/nodejs/node/pull/47949 ,也是打算直接重启进程。 如果你遇到了类似磁盘写入异常,看看服务器磁盘 io 情况,如果是日志太大,做一下日志大小切割 https://www.eggjs.org/zh-CN/core/logger#%E6%97%A5%E5%BF%97%E5%88%87%E5%89%B2

基于 https://github.com/github/advisory-database 数据库实现 audit 接口

存在并发同步主键冲突,目前会自动重试最终一致性。

@xdumaine Sure, I will merge and release a minor version.

@dougwilson @jonathanong add me to the npm owner?

可以直接使用了 Sent from my iPhone > On May 18, 2015, at 12:16 AM, Shawn [email protected] wrote: > > 把utilx中的类型判断换成lodash后,性能显著提高,未预编译版本性能超过nunjucks,预编译版本接近达到nunjucks的二分之一 > > 优化前: > > — > Reply to this email...

多余的 commits rebase 合并掉

isObject 判断,可以使用最高效的方式: `if (obj && typeof obj === 'object' && !Array.isArray(obj))` 而且我们如果已经判断了不是数组,后面一步也没必要了