Skip to content

Commit 9663c7d

Browse files
Update src/pages/learn/file-uploads.mdx
Co-authored-by: Benjie <[email protected]>
1 parent 3a26d60 commit 9663c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/learn/file-uploads.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ A safe practice is to use trusted documents or a validation rule to ensure each
3131

3232
### Stream leaks on failed operations
3333

34-
GraphQL executes in phases: validation, then execution. If validation fails or an authorization check blocks execution, uploaded
34+
GraphQL executes in phases: validation, then execution. If validation fails or an authorization check prematurely terminates execution, uploaded
3535
file streams may never be consumed. If your server buffers or retains these streams, it can cause memory leaks.
3636

3737
To avoid this, ensure that all streams are terminated when the request finishes, whether or not they were consumed in resolvers.

0 commit comments

Comments
 (0)