Skip to content

Commit 7e294cf

Browse files
authored
Merge pull request #2688 from AtCoder-NoviSteps/#2687
chore: Increase function memory to 3008MB (#2687)
2 parents 3edc04c + d392e5e commit 7e294cf

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

svelte.config.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ const config = {
99
preprocess: vitePreprocess(),
1010

1111
kit: {
12-
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
13-
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
14-
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
12+
// See:
13+
// https://svelte.dev/docs/kit/adapter-vercel
1514
adapter: adapter({
16-
// See: https://vercel.com/docs/edge-network/regions
15+
runtime: 'nodejs22.x',
1716
regions: ['hnd1'], // Tokyo, Japan.
17+
memory: 3008, // To avoid OOM errors on /workbooks/{slug}
18+
maxDuration: 30,
1819
}),
1920
// See:
2021
// https://kit.svelte.dev/docs/configuration#alias

0 commit comments

Comments
 (0)