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 d67dd60 commit e1e69ceCopy full SHA for e1e69ce
functions/lib/pubsub/create-topic.js
@@ -10,7 +10,7 @@ const createPubSubFunction = (
10
eventMaxAgeMs = (2 * 60 * 1000)
11
) => {
12
return functions
13
- .runWith({ failurePolicy: true })
+ .runWith({ failurePolicy: true, timeoutSeconds: 180 })
14
.pubsub.topic(pubSubTopic).onPublish((message, context) => {
15
const eventAgeMs = Date.now() - Date.parse(context.timestamp)
16
if (eventAgeMs > eventMaxAgeMs) {
0 commit comments