@gigadrive/network-config 4.1.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -328,6 +328,7 @@ var AVAILABLE_REGIONS = [...REGION_DEFINITIONS];
|
|
|
328
328
|
// src/detection/frameworks/nextjs.ts
|
|
329
329
|
var toPortablePath = (value) => value.replaceAll("\\", "/");
|
|
330
330
|
var MAXIMUM_ENTRY_PAGE_PATHS = 50;
|
|
331
|
+
var STANDALONE_SERVER_MEMORY_MB = 1024;
|
|
331
332
|
var resolveStandaloneServer = Effect4.fn("nextjs.resolveStandaloneServer")(function* (projectFolder, distDir, repoRootToProject) {
|
|
332
333
|
const fs = yield* FileSystem4.FileSystem;
|
|
333
334
|
const pathService = yield* Path3.Path;
|
|
@@ -440,7 +441,7 @@ var createStandaloneV2Config = Effect4.fn("nextjs.createStandaloneV2Config")(fun
|
|
|
440
441
|
displayName: "next-server",
|
|
441
442
|
path: entrypoint,
|
|
442
443
|
runtime: defaults.runtime,
|
|
443
|
-
memory: defaults.memory,
|
|
444
|
+
memory: Math.max(defaults.memory, STANDALONE_SERVER_MEMORY_MB),
|
|
444
445
|
maxDuration: manifest.server.maxDuration ?? defaults.maxDuration,
|
|
445
446
|
streaming: true,
|
|
446
447
|
environmentVariables: {
|