Skip to content

Commit

Permalink
Update everything, update asynchttpclient to 3.0.0. (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
Caparow committed Aug 1, 2024
1 parent 9d242da commit 1e17f6f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import org.asynchttpclient.ws.{WebSocket, WebSocketListener, WebSocketUpgradeHan
import org.asynchttpclient.{DefaultAsyncHttpClient, DefaultAsyncHttpClientConfig}
import org.http4s.Uri

import java.time.Duration
import java.util.UUID
import java.util.concurrent.atomic.AtomicReference
import scala.concurrent.duration.{DurationInt, FiniteDuration}
Expand Down Expand Up @@ -174,11 +175,11 @@ class WsRpcDispatcherFactory[F[+_, +_]: Async2: Temporal2: Primitives2: UnsafeRu
.setWebSocketMaxFrameSize(64 * 1024 * 1024 * 8) // increase frame size for 64MB
.setKeepAlive(true)
.setSoKeepAlive(true)
.setRequestTimeout(30 * 1000) // 60 seconds is default
.setPooledConnectionIdleTimeout(60 * 1000) // 60 seconds is default
.setConnectTimeout(30 * 1000) // 5 seconds is default
.setReadTimeout(60 * 1000) // 60 seconds is default
.setShutdownTimeout(15 * 1000) // 15 seconds is default
.setRequestTimeout(Duration.ofSeconds(30)) // 60 seconds is default
.setPooledConnectionIdleTimeout(Duration.ofSeconds(60)) // 60 seconds is default
.setConnectTimeout(Duration.ofSeconds(30)) // 5 seconds is default
.setReadTimeout(Duration.ofSeconds(60)) // 60 seconds is default
.setShutdownTimeout(Duration.ofSeconds(15)) // 15 seconds is default
.build()
)
})
Expand Down
10 changes: 5 additions & 5 deletions project/Versions.scala
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
object V {
// foundation

val scalatest = "3.2.18"
val scalatest = "3.2.19"

val http4s = "0.23.27"
val http4s_blaze = "0.23.16"

val scalameta = "4.9.5" // Not available for Scala 3 yet
val fastparse = "3.1.0" // 3.0.0 is available for Scala 3
val scalameta = "4.9.9" // Not available for Scala 3 yet
val fastparse = "3.1.1" // 3.0.0 is available for Scala 3

val scala_xml = "2.3.0"

val kind_projector = "0.13.3"

val circe_derivation = "0.13.0-M5"
val circe_generic_extras = "0.14.3"
val circe_generic_extras = "0.14.4"

val scala_java_time = "2.6.0"

// java-only dependencies below
// java, we need it bcs http4s ws client isn't ready yet
val asynchttpclient = "2.12.3"
val asynchttpclient = "3.0.0"

val slf4j = "1.7.30"
val typesafe_config = "1.4.3"
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version = 1.10.0
sbt.version = 1.10.1
2 changes: 1 addition & 1 deletion project/project/PluginVersions.scala
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
object PV {
val izumi = "1.2.11"

val sbt_scoverage = "2.0.12"
val sbt_scoverage = "2.1.0"
val sbt_pgp = "2.2.1"
}

0 comments on commit 1e17f6f

Please sign in to comment.