Skip to content

Commit

Permalink
finagle-redis: Make partitionedClient accessible
Browse files Browse the repository at this point in the history
Problem

There isn't a StackClient exposed for Redis partition aware client to configure
the client stack with parameters.

Solution

Make partitionedClient public

Differential Revision: https://phabricator.twitter.biz/D492754
  • Loading branch information
yufangong authored and jenkins committed May 29, 2020
1 parent b6e7768 commit 7ba107e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ New Features
* finagle-core: Add `letTracers` to allow setting multiple tracers onto the tracer stack.
``PHAB_ID=D489697``

* finagle-redis: Make partitionedClient accessible. ``PHAB_ID=D492754``

20.5.0
------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ object Redis extends Client[Command, Reply] with RedisRichClient {

def client: Redis.Client = Client()

private[finagle] def partitionedClient: Redis.Client =
def partitionedClient: Redis.Client =
client.withStack(Client.hashRingStack)

def newClient(dest: Name, label: String): ServiceFactory[Command, Reply] =
Expand Down

0 comments on commit 7ba107e

Please sign in to comment.