Skip to content

Commit e1e69ce

Browse files
authored
Update create-topic.js
1 parent d67dd60 commit e1e69ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/lib/pubsub/create-topic.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const createPubSubFunction = (
1010
eventMaxAgeMs = (2 * 60 * 1000)
1111
) => {
1212
return functions
13-
.runWith({ failurePolicy: true })
13+
.runWith({ failurePolicy: true, timeoutSeconds: 180 })
1414
.pubsub.topic(pubSubTopic).onPublish((message, context) => {
1515
const eventAgeMs = Date.now() - Date.parse(context.timestamp)
1616
if (eventAgeMs > eventMaxAgeMs) {

0 commit comments

Comments
 (0)