From 81e2ff05247c58c152ed52f1cc7299d30cc89284 Mon Sep 17 00:00:00 2001 From: Wes Lord Date: Wed, 15 May 2024 15:04:16 -0700 Subject: [PATCH] Update reference in docs from `done` to `release` (#3211) --- docs/pages/guides/project-structure.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/guides/project-structure.md b/docs/pages/guides/project-structure.md index e4dafbad..1e360ae4 100644 --- a/docs/pages/guides/project-structure.md +++ b/docs/pages/guides/project-structure.md @@ -94,7 +94,7 @@ export const getClient = () => { } ``` -Okay. Great - the simplest thing that could possibly work. It seems like one of our routes that checks out a client to run a transaction is forgetting to call `done` in some situation! Oh no! We are leaking a client & have hundreds of these routes to go audit. Good thing we have all our client access going through this single file. Lets add some deeper diagnostic information here to help us track down where the client leak is happening. +Okay. Great - the simplest thing that could possibly work. It seems like one of our routes that checks out a client to run a transaction is forgetting to call `release` in some situation! Oh no! We are leaking a client & have hundreds of these routes to go audit. Good thing we have all our client access going through this single file. Lets add some deeper diagnostic information here to help us track down where the client leak is happening. ```js export const query = async (text, params) => {