Commit 53ccbb7
committed
fix(qstash): set Upstash-Timeout to 595s on every publish
QStash's default callback delivery timeout is 30s. Ingest jobs that
parse + summarize + persist a large PDF (hundreds of sections, each
written to S3-compatible storage) reliably exceed that, the webhook
gets cut off mid-job, and the engine sees a canceled context just
when it's about to mark progress. The 595s ceiling stays under
Cloud Run's max request timeout (600s) and matches the longest
ingest we've measured.1 parent 3cb82c1 commit 53ccbb7
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
116 | 122 | | |
117 | 123 | | |
118 | 124 | | |
| |||
0 commit comments