Skip to content

Commit

Permalink
Remove 'setMinThreads'
Browse files Browse the repository at this point in the history
  • Loading branch information
zsxwing committed Mar 11, 2016
1 parent 8422f6e commit e772aed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/src/main/scala/org/apache/spark/ui/JettyUtils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ private[spark] object JettyUtils extends Logging {
pool.setName(serverName)
}
pool.setMaxThreads(math.max(pool.getMaxThreads, minThreads))
pool.setMinThreads(math.min(pool.getMinThreads, pool.getMaxThreads))
pool.setDaemon(true)
server.setThreadPool(pool)
val errorHandler = new ErrorHandler()
Expand Down

0 comments on commit e772aed

Please sign in to comment.