mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-05 04:56:02 +01:00
Bump blocking-slick
This commit is contained in:
@@ -36,7 +36,7 @@ libraryDependencies ++= Seq(
|
|||||||
"org.apache.httpcomponents" % "httpclient" % "4.5.1",
|
"org.apache.httpcomponents" % "httpclient" % "4.5.1",
|
||||||
"org.apache.sshd" % "apache-sshd" % "1.2.0",
|
"org.apache.sshd" % "apache-sshd" % "1.2.0",
|
||||||
"org.apache.tika" % "tika-core" % "1.13",
|
"org.apache.tika" % "tika-core" % "1.13",
|
||||||
"com.github.takezoe" %% "blocking-slick-32" % "0.0.6",
|
"com.github.takezoe" %% "blocking-slick-32" % "0.0.7-SNAPSHOT",
|
||||||
"joda-time" % "joda-time" % "2.9.6",
|
"joda-time" % "joda-time" % "2.9.6",
|
||||||
"com.novell.ldap" % "jldap" % "2009-10-07",
|
"com.novell.ldap" % "jldap" % "2009-10-07",
|
||||||
"com.h2database" % "h2" % "1.4.192",
|
"com.h2database" % "h2" % "1.4.192",
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ object Database {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private val db: SlickDatabase = {
|
private val db: SlickDatabase = {
|
||||||
SlickDatabase.forDataSource(dataSource)
|
SlickDatabase.forDataSource(dataSource, Some(dataSource.getMaximumPoolSize))
|
||||||
}
|
}
|
||||||
|
|
||||||
def apply(): SlickDatabase = db
|
def apply(): SlickDatabase = db
|
||||||
|
|||||||
Reference in New Issue
Block a user