-
Notifications
You must be signed in to change notification settings - Fork 227
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
Event loop blocked #1679
Comments
@handou-o Is your |
yes, sorry I forgot to put it on my example but yeah obviously test is async as well. |
Are you using node 18? I ask because we started to notice similar issues when moving from node 16 to node 18. Our issues are around subscriptions though, not around topics/publishing. We know that its not just a promise not resolving because we also have an interval setup to log processed messages, this also seems to just stop until our pods reboot themselves. The interval is as simple as this: const interval = setInterval(() => {
console.info(`${processedMessageCount} messages processed.`);
processedMessageCount = 0;
}, 300000); |
We're consistently seeing an issue with |
This is with Node 18. We upgraded from Node 16 due to similar issues. We're now back on Node 14 for this application and so far (touch wood), it looks like this issue has gone away. If someone can point me to the underlying code for |
@scagood yes it is on node 18, |
We had a similar issue using both node 16.19.0 and 18.13.0. |
This seems to have been resolved for us in node 18.12, and 18.15. So I think this is probably not an issue with pubsub directly, so I think we can close this. |
Great! We're also looking at moving back to 18, so this is good to hear. Was watching the Node releases and saw the fix come through.
Agreed. The breaking change in Node has been reverted. |
Closing this since it sounds like it was an issue solved outside the library. |
Hello, I got some weird issues when I try to publish a lot of messages to topics with a promise.all
Here is part of my code:
When I execute the test function sometimes randomly the process got stuck and never finish, it seems to happen more often when the topic does not exist, It happens on emulator and on a real GCP project.
The text was updated successfully, but these errors were encountered: