-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
137741: sql: reduce context allocations related to pausable portals r=mgartner a=mgartner #### sql: pass current context to pausable portal cleanup funcs Previously, cleanup functions for pausable portals referenced contexts from the initial execution of the portal. This was probably incorrect, though there are no known bugs caused by this. This also caused unnecessary heap allocations of contexts in some cases. Release note: None #### sql: remove namedFunc struct The `fName` field of the `namedFunc` struct was never read. The entire struct has been removed and replaced with the `func(context.Context)` type. Epic: None Release note: None Co-authored-by: Marcus Gartner <[email protected]>
- Loading branch information
Showing
3 changed files
with
40 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters