Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emulator hangs on a function call #306

Open
th0rgall opened this issue Feb 9, 2023 · 0 comments
Open

Emulator hangs on a function call #306

th0rgall opened this issue Feb 9, 2023 · 0 comments

Comments

@th0rgall
Copy link
Contributor

th0rgall commented Feb 9, 2023

I suspect the onWrite Firestore triggers are to blame, when they are running for 30+ second polling for SendGrid, together with the divergent FIFO behavior of of --inspect-functions:

--inspect-functions debug_port	Optional. Use with the Cloud Functions emulator to enable breakpoint debugging of functions at the specified port (or the default port 9229 if argument omitted). Note that when this flag is supplied, the Cloud Functions emulator switches to a special serialized execution mode in which functions are executed in a single process, in sequential (FIFO) order; this simplifies function debugging, though the behavior differs from multi-process, parallel execution of functions in the cloud.

Maybe we can check the Emulator REST API Enable / Disable Background Function Triggers docs & automate disabling these triggers for debugging flows where they are not

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant