HomeProjectsBlogTalks

Fix firebase emulator timeout

April 8, 2024 (2mo ago)

You might have encountered a timeout error when using running a firebase function that takes more than 60 seconds in the firebase local emulator, even after specifying the timeout in the functions options.

To increase the timeout, you can use the FUNCTIONS_EMULATOR_TIMEOUT_SECONDS environment variable as shown below.

//.env.local FUNCTIONS_EMULATOR_TIMEOUT_SECONDS=540s

Happy coding.