| 22 | const ListObjectsShadowExecute = "ShadowedListObjectsQuery.Execute" |
| 23 | |
| 24 | type 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 | |
| 34 | type ShadowListObjectsQueryOption func(d *ShadowListObjectsQueryConfig) |
| 35 |
nothing calls this directly
no outgoing calls
no test coverage detected