-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add code comments and fix data races in query.go. (#3749)
- Fixes the race conditions mentioned in #3685 by removing global variables from `worker/task.go`. - I have also moved preTraverse and related functions to outputnode.go. - There is also a small optimization in ProcessGraph as we don't call fillVars with ParentVars if there are no more children of the current SubGraph node.
- Loading branch information
1 parent
9abaea4
commit 8ba4a85
Showing
3 changed files
with
587 additions
and
471 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
Oops, something went wrong.