Skip to content

Commit ab7e206

Browse files
committed
tune settings
1 parent c5f5ea6 commit ab7e206

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Dependencies._
22

33
name := """bitbucket-scala-client"""
44

5-
version := "1.3.4"
5+
version := "1.3.5"
66

77
scalaVersion := "2.10.5"
88

src/main/scala/com/codacy/client/bitbucket/client/BitbucketClient.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class BitbucketClient(key: String, secretKey: String, token: String, secretToken
148148
private def withClient[T](block: NingWSClient => T): Try[T] = {
149149
val config = new NingAsyncHttpClientConfigBuilder(DefaultWSClientConfig()).build()
150150
val clientConfig = new AsyncHttpClientConfig.Builder(config)
151-
.setExecutorService(new ThreadPoolExecutor(0, 2, 30L, TimeUnit.SECONDS, new SynchronousQueue[Runnable]))
151+
.setExecutorService(new ThreadPoolExecutor(5, 15, 30L, TimeUnit.SECONDS, new SynchronousQueue[Runnable]))
152152
.build()
153153
val client = new NingWSClient(clientConfig)
154154
val result = Try(block(client))

0 commit comments

Comments
 (0)