Skip to content

Commit

Permalink
fix: temporarily disable streaming when ISR is used (#9197)
Browse files Browse the repository at this point in the history
closes #9182
  • Loading branch information
dummdidumm authored Feb 24, 2023
1 parent 8c21383 commit b470fcf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/real-crews-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/adapter-vercel': patch
---

fix: temporarily disable streaming when ISR is used
2 changes: 1 addition & 1 deletion packages/adapter-vercel/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ async function create_function_bundle(builder, entry, dir, config) {
maxDuration: config.maxDuration,
handler: path.relative(base + ancestor, entry),
launcherType: 'Nodejs',
experimentalResponseStreaming: true
experimentalResponseStreaming: !config.isr
},
null,
'\t'
Expand Down

0 comments on commit b470fcf

Please sign in to comment.