1
votes

When emulating firebase functions locally is there a way to change the function timeout from the default 60s?

--idlePruneInterval has been added as an option to the google cloud emulator CLI: https://github.com/GoogleCloudPlatform/cloud-functions-emulator/issues/66

This option doesn't appear to work is not officially supported in either the firebase serve mode:

firebase serve --only functions --idlePruneInterval=5000

or the experimental shell emulation:

firebase experimental:functions:shell --idlePruneInterval=5000

Is there another way around this problem? Perhaps editing a config file?

1

1 Answers

0
votes

The Cloud Functions emulator from Firebase is separate from the one provided by the Google Cloud Platform org. The command line parameters from one won't necessarily work on the other.