Skip to content

Commit

Permalink
Bumped version, added sessionParams to Client.
Browse files Browse the repository at this point in the history
Version 0.0.7-M3
  • Loading branch information
penland365 committed Nov 7, 2018
1 parent f1feed1 commit 0e6c651
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Expand Up @@ -6,7 +6,7 @@ Defaults.itSettings

lazy val buildSettings = Seq(
organization := "com.github.finagle",
scalaVersion := "2.12.4",
scalaVersion := "2.12.7",
crossScalaVersions := Seq("2.11.8", "2.12.3")
)

Expand Down Expand Up @@ -56,7 +56,7 @@ lazy val baseSettings = Seq(

lazy val allSettings = buildSettings ++ baseSettings ++ Defaults.itSettings

lazy val coreVersion = "0.0.7-M2"
lazy val coreVersion = "0.0.7-M3"

lazy val catsVersion = "0.9.0"

Expand Down
5 changes: 4 additions & 1 deletion core/src/main/scala/roc/Postgresql.scala
Expand Up @@ -4,6 +4,7 @@ import com.twitter.finagle.client.{DefaultPool, StackClient, StdStackClient}
import com.twitter.finagle.netty3.Netty3Transporter
import com.twitter.finagle.transport.Transport
import com.twitter.finagle.{Name, Service, ServiceFactory, Stack}
import com.twitter.finagle.param.WithSessionPool
import com.twitter.util.Duration
import java.net.SocketAddress
import roc.postgresql.transport.{Packet, PostgresqlClientPipelineFactory}
Expand Down Expand Up @@ -54,7 +55,9 @@ object Postgresql extends com.twitter.finagle.Client[Request, Result]
low = 0, high = 1, bufferSize = 0,
idleTime = Duration.Top,
maxWaiters = Int.MaxValue)
) extends StdStackClient[Request, Result, Client] with PostgresqlRichClient {
) extends StdStackClient[Request, Result, Client]
with PostgresqlRichClient
with WithSessionPool[Client] {
protected def copy1(
stack: Stack[ServiceFactory[Request, Result]] = this.stack,
params: Stack.Params = this.params
Expand Down

0 comments on commit 0e6c651

Please sign in to comment.