Skills 2026-07-29 03:21 UTC
refly
Committed by mrcfps. Update Category: Bug Fixes & Stability Improvements. Commit details: fix(api): reduce refly-api RSS from image path and stream snapshots (#2290). This update resolves known runtime errors and enhances system reliability.
CommitRaw commit message
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.