In general, a serverless platform usually caps the execution time of a cloud function to prevent overuse of the platform's computing resources. For Google Cloud Functions, the default timeout is set to be 1 minute and can be extended to 9 minutes if the user prefers. When a function is timed out, its running codes are terminated. For example, if a function is scheduled to run at the 3 minutes after it starts, and if the timeout is set to be 2, that function will never run.