mirror of
https://github.com/etcd-io/etcd.git
synced 2026-02-06 00:48:15 +01:00
Rename RunTrafficLoop to RunKeyValueLoop to better reflect that it handles key-value operations (get, put, delete, etc.). Add a new RunWatchLoop method to the Traffic interface that will create watches in a controlled loop with configurable QPS and revision offset parameters. This provides better lifecycle control than the previous periodic background watch mechanism. The RunWatchLoop implementations are stubs that will be filled in a subsequent commit. Signed-off-by: Marek Siarkowicz <siarkowicz@google.com> Signed-off-by: Chun-Hung Tseng <henrytseng@google.com>