Permalink
Browse files

add hostConnectionMaxLifeTime to ClientBuilder.

  • Loading branch information...
1 parent 48c08bb commit 577f00de18c20269fd8402708298bedd20ba9af4 Wanli Yang committed Mar 21, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 finagle-core/src/main/scala/com/twitter/finagle/builder/ClientBuilder.scala
View
3 finagle-core/src/main/scala/com/twitter/finagle/builder/ClientBuilder.scala
@@ -169,6 +169,9 @@ case class ClientBuilder[Req, Rep](
def hostConnectionMaxIdleTime(timeout: Duration) =
copy(_hostConnectionMaxIdleTime = Some(timeout))
+ def hostConnectionMaxLifeTime(timeout: Duration) =
+ copy(_hostConnectionMaxLifeTime = Some(timeout))
+
def retries(value: Int) =
copy(_retries = Some(value))

0 comments on commit 577f00d

Please sign in to comment.