edyt

Developerprompt

PR Description

Turn notes into a structured pull request description.

نمونه‌ی ورودی

moved invoice pdf generation off the request thread into a background job. users get an email with the link when it's ready. big invoices were timing out at 30s. added retry 3x. tested locally with a 400 page invoice and on staging

نتیجه‌ی Edyt

Summary
This PR moves the invoice PDF generation off the request thread into a background job to improve performance and prevent timeouts for large invoices.

Changes

  • Users receive an email with a link to the invoice when it's ready.
  • Increased timeout handling by adding a retry mechanism of 3 attempts.

Testing

  • Tested locally with a 400-page invoice and on staging.

روی هر متنی، در هر برنامه‌ای اجرایش کنید

متن را انتخاب کنید، میان‌برتان را بزنید و این پرامپت را انتخاب کنید. نتیجه همان‌جا ظاهر می‌شود. بدون کپی و پیست، بدون تب مرورگر.

پرامپت PR Description | Edyt | Edyt