We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e46338a commit 5556480Copy full SHA for 5556480
functions/src/cron/index.ts
@@ -8,8 +8,9 @@ import { ingestRepoVersions } from '../logic/ingestRepoVersions';
8
* CPU-time for pubSub is not part of the free quota, so we'll keep it light weight.
9
* This will call the cloud function `cron/worker`, using an authentication token.
10
*/
11
-export const trigger = functions.pubsub
12
- .schedule('every 15 minutes')
+export const trigger = functions
+ .runWith({ timeoutSeconds: 60, memory: '512MB' })
13
+ .pubsub.schedule('every 15 minutes')
14
.onRun(async (context: EventContext) => {
15
try {
16
await routineTasks();
0 commit comments