Ramtin
CDCloudflare Developers
•Created by Ramtin on 4/19/2025 in #hyperdrive
Hi all,
Sometimes my SQL queries fail randomly and I get the following error:
I thought it might be due to not closing the Hyperdrive connection correctly or its configurations but I think it might be a problem with Hyperdrive itself
9 replies
CDCloudflare Developers
•Created by Ramtin on 4/19/2025 in #hyperdrive
Hi all,
Thank you for your response. Would you recommend closing the SQL connections manually after each request as well?
Also could you please advise whether the following configuration for establishing SQL connections to Hyperdrive is appropriate to use across the worker? I’ve seen some examples where max is set to 1 instead of 5.
9 replies