技能 2026-07-29 03:21 UTC
refly
由提交人 mrcfps 提交,主要更新类型为:问题缺陷修复与稳定性提升。提交说明:fix(api): reduce refly-api RSS from image path and stream snapshots (#2290)。解决了已知运行时异常与边界错误,提升系统稳定性。
Commit提交信息原文
fix(api): reduce refly-api RSS from image path and stream snapshots (#2290) * fix(api): reduce refly-api RSS from image path and stream snapshots Cap concurrent Sharp/base64 work, set MALLOC_ARENA_MAX=2, and debounce ResultAggregator Redis snapshots to limit glibc arena fragmentation. * fix(api): address PR review on ResultAggregator debounce lifecycle Re-debounce after in-flight writes instead of immediate loops, flush on abort, guard addUsageItem when aborted, and tighten related tests/constants. * fix(api): lazy-init image process limiter after env load Read IMAGE_PROCESS_CONCURRENCY on first use / onModuleInit so ConfigModule .env values are honored instead of import-time defaults.