mirror of https://github.com/linkerd/linkerd2.git
The router stores its cache and `Recognize` implementation within a `Mutex`, but there is no need for the recognizer to be locked. This change creates a new `Cache` type that is locked independently of `Recognize`. In order to accomplish this, `Recognize::bind_service` has been changed to take an immutable reference to its `self`. The (unused) `Single` type has been removed because it relied on `bind_service` being mutable. |
||
---|---|---|
.. | ||
benches | ||
controller-grpc | ||
convert | ||
futures-mpsc-lossy | ||
router | ||
src | ||
tests | ||
Cargo.toml | ||
Dockerfile | ||
assert_macro |