Browse files

upgrade to gizzard 3.0.0-beta6, plug in gauges for throttled connecti…

…on pool, and bump up the version to 1.8.0-alpha6
  • Loading branch information...
1 parent bfd652c commit 46778b8550ba8b289c8486692693b13ab4d2790c yswu committed Aug 26, 2011
View
2 .gitignore
@@ -12,3 +12,5 @@ project/boot/
project/plugins/project/
ignore/
flockdb.tmproj
+*.iml
+.idea/
View
2 project/build.properties
@@ -3,6 +3,6 @@
project.organization=com.twitter
project.name=flockdb
sbt.version=0.7.4
-project.version=1.8.0-alpha5
+project.version=1.8.0-alpha6
build.scala.versions=2.8.1
project.initialize=false
View
2 project/build/FlockDBProject.scala
@@ -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.0-beta4"
+ val gizzard = "com.twitter" % "gizzard" % "3.0.0-beta6"
val asm = "asm" % "asm" % "1.5.3" % "test"
val cglib = "cglib" % "cglib" % "2.2" % "test"
View
1 src/main/scala/com/twitter/flockdb/FlockDB.scala
@@ -45,6 +45,7 @@ class FlockDB(config: FlockDBConfig) extends GizzardServer(config) with Service
Stats.addMetric(name, duration.inMillis.toInt)
rv
}
+ override def addGauge(name: String)(gauge: => Double) { Stats.addGauge(name)(gauge) }
}
val jobPriorities = List(Priority.Low, Priority.Medium, Priority.High).map(_.id)

0 comments on commit 46778b8

Please sign in to comment.