Permalink
Browse files

Upgrade to gizzard 3.0.8

  • Loading branch information...
1 parent 6c69a91 commit e6c258f50cfe633a398aadaadbc525342fc49b11 Raghavendra Prabhu committed Mar 23, 2012
Showing with 11 additions and 11 deletions.
  1. +4 −4 config/development.scala
  2. +4 −4 config/production.scala
  3. +2 −2 config/test.scala
  4. +1 −1 project/build/FlockDBProject.scala
View
@@ -18,10 +18,10 @@ trait Credentials extends Connection {
}
class ProductionQueryEvaluator extends AsyncQueryEvaluator {
- workPoolSize = Some(40)
+ workPoolSize = 40
database.memoize = true
database.pool = new ThrottledPoolingDatabase {
- size = workPoolSize.get
+ size = workPoolSize
openTimeout = 100.millis
}
@@ -73,9 +73,9 @@ new FlockDB {
val lowLatencyQueryEvaluator = edgesQueryEvaluator
val materializingQueryEvaluator = new ProductionQueryEvaluator {
- workPoolSize = Some(1)
+ workPoolSize = 1
database.pool = new ThrottledPoolingDatabase {
- size = workPoolSize.get
+ size = workPoolSize
openTimeout = 1.second
}
}
View
@@ -16,10 +16,10 @@ trait Credentials extends Connection {
}
class ProductionQueryEvaluator extends AsyncQueryEvaluator {
- workPoolSize = Some(40)
+ workPoolSize = 40
database.memoize = true
database.pool = new ThrottledPoolingDatabase {
- size = workPoolSize.get
+ size = workPoolSize
openTimeout = 100.millis
}
@@ -73,9 +73,9 @@ new FlockDB {
val lowLatencyQueryEvaluator = new ProductionQueryEvaluator
val materializingQueryEvaluator = new ProductionQueryEvaluator {
- workPoolSize = Some(1)
+ workPoolSize = 1
database.pool = new ThrottledPoolingDatabase {
- size = workPoolSize.get
+ size = workPoolSize
openTimeout = 1.second
}
}
View
@@ -24,11 +24,11 @@ trait Credentials extends Connection {
class TestQueryEvaluator(label: String) extends AsyncQueryEvaluator {
query.debug = { s => Logger.get("query").debug(s) }
- workPoolSize = Some(2)
+ workPoolSize = 2
singletonFactory = true
database.memoize = true
database.pool = new ThrottledPoolingDatabase {
- size = workPoolSize.get
+ size = workPoolSize
openTimeout = 5.seconds
}
@@ -10,7 +10,7 @@ with SubversionPublisher {
override def filterScalaJars = false
val scalaTools = "org.scala-lang" % "scala-compiler" % "2.8.1"
- val gizzard = "com.twitter" % "gizzard" % "3.0.8-SNAPSHOT" withSources()
+ val gizzard = "com.twitter" % "gizzard" % "3.0.8" withSources()
val scrooge = "com.twitter" % "scrooge-runtime" % "1.0.3" withSources()
val asm = "asm" % "asm" % "1.5.3" % "test"

0 comments on commit e6c258f

Please sign in to comment.