mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 22:59:10 +00:00
fix: increase default HTTPS dev server session memory limit (#6207)
This commit is contained in:
parent
2d978f7b10
commit
f895f94b49
@ -104,6 +104,9 @@ export async function resolveHttpServer(
|
||||
} else {
|
||||
return require('http2').createSecureServer(
|
||||
{
|
||||
// Manually increase the session memory to prevent 502 ENHANCE_YOUR_CALM
|
||||
// errors on large numbers of requests
|
||||
maxSessionMemory: 1000,
|
||||
...httpsOptions,
|
||||
allowHTTP1: true
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user