mirror of
https://github.com/grafana/grafana.git
synced 2025-02-03 12:11:09 -06:00
7b4925ea37
* initial naive implementation * Update pkg/services/store/entity/sqlstash/sql_storage_server.go Co-authored-by: Igor Suleymanov <radiohead@users.noreply.github.com> * tidy up * add action column, batch watch events * initial implementation of broadcast-based watcher * fix up watch init * remove batching, it just adds needless complexity * use StreamWatcher * make broadcaster generic * add circular buffer to replay recent events to new watchers * loop within poll until all events are read * add index on entity_history.resource_version to support poller * increment r.Since when we send events to consumer * switch broadcaster and cache to use channels instead of mutexes * cleanup --------- Co-authored-by: Igor Suleymanov <radiohead@users.noreply.github.com> |
||
---|---|---|
.. | ||
auth | ||
backendplugin | ||
codegen | ||
config | ||
envvars | ||
httpresponsesender | ||
log | ||
manager | ||
pfs | ||
plugindef | ||
pluginrequestmeta | ||
pluginscdn | ||
repo | ||
storage | ||
apiserver_test.go | ||
apiserver.go | ||
errors.go | ||
ifaces.go | ||
localfiles_test.go | ||
localfiles.go | ||
models.go | ||
plugins_test.go | ||
plugins.go | ||
test_utils.go |