diff --git a/functions/index.js b/functions/index.js index dc7d701..c4b9d37 100644 --- a/functions/index.js +++ b/functions/index.js @@ -3,4 +3,13 @@ const mirror = require('./mirror'), functions = require('firebase-functions'); -module.exports = { mirror: functions.https.onRequest(mirror.app) }; +module.exports = { + mirror: functions + .runWith({ + maxInstances: 10, + timeoutSeconds: 540, // 9 min, max + memory: "128MB", // min + }) + .https + .onRequest(mirror.app) +};