# When LIMIT 9 works but LIMIT 10 hangs

DevFeed: [When LIMIT 9 works but LIMIT 10 hangs](<https://devfeed.tech/articles/when-limit-9-works-but-limit-10-hangs-5854.md>)

Original publisher: [Read original article](<https://neon.com/blog/when-limit-9-works-but-limit-10-hangs>)

Author: George MacKerron

Published: 2023-05-30T09:05:26Z

Content type: article

Language: en

Sources: [Blog -- Neon Docs](<https://devfeed.tech/sources/blog-neon-docs.md>)

Topics: [Database](<https://devfeed.tech/topics/database.md>)

Tags: [engineering](<https://devfeed.tech/tags/engineering.md>), [node](<https://devfeed.tech/tags/node.md>), [postgres](<https://devfeed.tech/tags/postgres.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [tls](<https://devfeed.tech/tags/tls.md>)

## AI overview

A debugging article about a Neon serverless Postgres driver issue where a longer query hangs over undici WebSockets in Node 18+, while ws and Node 17 work. It traces the investigation with a minimal reproduction and TLS-decrypted Wireshark captures.

## Source excerpt

I got a Slack message from colleagues at a major partner. They'd updated their dev environment to support WebSockets, so that Neon's serverless driver could be used there, but then they'd run into a weird issue. The nub of it was this: This hangs: This works Reproducibly, the que...