MCPcopy
hub / github.com/openfga/openfga / shadowedListObjectsQuery

Struct shadowedListObjectsQuery

pkg/server/commands/list_objects_shadow.go:24–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22const ListObjectsShadowExecute = "ShadowedListObjectsQuery.Execute"
23
24type shadowedListObjectsQuery struct {
25 main ListObjectsResolver
26 shadow ListObjectsResolver
27 shadowTimeout time.Duration // A time.Duration specifying the maximum amount of time to wait for the shadow list_objects query to complete. If the shadow query exceeds this shadowTimeout, it will be cancelled, and its result will be ignored, but the shadowTimeout event will be logged.
28 maxDeltaItems int // The maximum number of items to log in the delta between the main and shadow results. This prevents excessive logging in case of large differences.
29 logger logger.Logger
30 // only used for testing signals
31 wg *sync.WaitGroup
32}
33
34type ShadowListObjectsQueryOption func(d *ShadowListObjectsQueryConfig)
35

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected