mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-17 16:48:13 +02:00
## Summary Add a new `wait` field to the sync request for the databroker. The current behavior is to always wait for changes in a never-ending stream of records, but there are cases where it would be useful to stream the changes and stop when there are no changes remaining. The storage backends already support this. The `wait` field is optional and the default will be to wait, preserving the existing behavior. ## Related issues - [ENG-2401](https://linear.app/pomerium/issue/ENG-2401/enterprise-console-improve-performance-of-directory-sync-using-cached) ## Checklist - [x] reference any related issues - [ ] updated unit tests - [x] add appropriate label (`enhancement`, `bug`, `breaking`, `dependencies`, `ci`) - [x] ready for review |
||
---|---|---|
.. | ||
config.go | ||
config_source.go | ||
config_source_test.go | ||
registry.go | ||
server.go | ||
server_test.go |