This PR sets the request timeout (signaled by CLOUD_RUN_TIMEOUT_SECONDS) on the request context so that ff users can write functions that are deadline aware.
Functions overrunning CLOUD_RUN_TIMEOUT_SECONDS may continue to execute and spend CPU cycles but represent wasted work as the cloud functions runtime typically cuts off the response at this point, no data can be sent.
This PR sets the request timeout (signaled by
CLOUD_RUN_TIMEOUT_SECONDS
) on the request context so that ff users can write functions that are deadline aware.Functions overrunning
CLOUD_RUN_TIMEOUT_SECONDS
may continue to execute and spend CPU cycles but represent wasted work as the cloud functions runtime typically cuts off the response at this point, no data can be sent.