We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Original discussion: #1452 (comment)
The code that calculates how many database reads were accrued in Check is hard to follow and is error-prone.
The proposed solution is to use an atomic.uint32 counter for the datastore_query_count, similar to dispatch_counter (
atomic.uint32
datastore_query_count
dispatch_counter
openfga/internal/graph/graph.go
Line 58 in b6f3d4a
Pros:
Cons:
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Checklist
Describe the problem you'd like to have solved
Original discussion: #1452 (comment)
The code that calculates how many database reads were accrued in Check is hard to follow and is error-prone.
Describe the ideal solution
The proposed solution is to use an
atomic.uint32
counter for thedatastore_query_count
, similar todispatch_counter
(openfga/internal/graph/graph.go
Line 58 in b6f3d4a
Pros:
Cons:
Alternatives and current workarounds
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: