Skip to content

Commit 400a096

Browse files
committed
feat: add config
1 parent d816ed0 commit 400a096

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

functions_v1/src/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,4 +149,8 @@ api.get("/api/v2/:endpoint/", (req, res) => {
149149
})
150150
})
151151

152-
exports.api_v1functions = functions.https.onRequest(api)
152+
exports.api_v1functions = functions.runWith({
153+
maxInstances: 400,
154+
memory: "128MB",
155+
timeoutSeconds: 30,
156+
}).https.onRequest(api)

0 commit comments

Comments
 (0)