From d9dae647c32649e1a84566a0e64a7c62b34b6245 Mon Sep 17 00:00:00 2001 From: Wes Lord Date: Sat, 11 May 2024 16:17:04 -0700 Subject: [PATCH] Update reference in docs from `done` to `release` --- 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 e4dafbad0..1e360ae45 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) => {