FAQ | This is a LIVE service | Changelog

Skip to content

Set CloudRun timeout to timeout_seconds variable

James Barr requested to merge 3-set-cloud-run-timeout into main

Summary

Sets the CloudRun request timeout to the timeout_seconds variable which is used as the Pub/Sub subscription ack deadline.

Problem

The Pub/Sub subscription ack deadline and CloudRun have different timeouts. The CloudRun timeout is not set and defaults to 5 minutes regardless of the value of timeout_seconds.

Motivation

Lab Allocator is a possible future user and requires function to run longer than 5 minutes.

Closes #3

Merge request reports

Loading