Skip to content

Commit

Permalink
Merge pull request #65 from Malinskiy/fix/android-buffer-pool
Browse files Browse the repository at this point in the history
fix(adam): no jmx on Android
  • Loading branch information
Malinskiy authored Oct 29, 2021
2 parents dd0d24a + eb38282 commit ceb7afc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class ByteBufferPool(private val poolSize: Int, private val bufferSize: Int) {
private val delegate: GenericObjectPool<ByteBuffer> by lazy {
val config = GenericObjectPoolConfig<ByteBuffer>().apply {
maxTotal = poolSize
jmxEnabled = false
}
GenericObjectPool(ByteBufferObjectFactory(bufferSize), config)
}
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Versions.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
object Versions {
val adam = System.getenv("GIT_TAG_NAME") ?: "0.4.2"
val adam = System.getenv("GIT_TAG_NAME") ?: "0.4.3"
val kotlin = "1.5.21"
val coroutines = "1.5.2"
val coroutinesDebug = coroutines
Expand Down

0 comments on commit ceb7afc

Please sign in to comment.