We’ve been watching Sidekiq workers climb from ~600 MB at boot to 1.4–1.5 GB after an hour whenever attachment-heavy jobs run. This PR is an experiment to curb that growth by streaming attachments instead of loading the whole blob into Ruby: reply-mailer inline attachments, Telegram uploads, and audio transcriptions now read/write in chunks. If this keeps RSS stable in production we’ll keep it; otherwise we’ll roll it back and keep digging |
||
|---|---|---|
| .. | ||
| administrator_notifications | ||
| agent_notifications | ||
| team_notifications | ||
| application_mailer.rb | ||
| conversation_reply_mailer_attachment_helper.rb | ||
| conversation_reply_mailer_helper.rb | ||
| conversation_reply_mailer.rb | ||
| portal_instructions_mailer.rb | ||
| references_header_builder.rb | ||