Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
fix test config
Browse files Browse the repository at this point in the history
  • Loading branch information
freels committed Feb 17, 2011
1 parent 718d1f2 commit 68e8af2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions config/test.scala
@@ -1,15 +1,16 @@
import scala.collection.jcl
import com.twitter.flockdb.config._
import com.twitter.gizzard.config._
import com.twitter.querulous.config._
import com.twitter.querulous.StatsCollector
import com.twitter.util.TimeConversions._
import com.twitter.conversions.time._
import com.twitter.conversions.storage._
import com.twitter.flockdb.shards.QueryClass
import com.twitter.flockdb.{MemoizedQueryEvaluators, Priority}


trait Credentials extends Connection {
val env = jcl.Map(System.getenv())
import scala.collection.JavaConversions._
val env = System.getenv().toMap
val username = env.get("DB_USERNAME").getOrElse("root")
val password = env.get("DB_PASSWORD").getOrElse("")
}
Expand Down Expand Up @@ -112,7 +113,7 @@ new FlockDB {
val schedulerType = new KestrelScheduler {
path = "/tmp"
keepJournal = false
maxMemorySize = 36000000L
maxMemorySize = 36.megabytes
}

threads = 2
Expand Down Expand Up @@ -145,4 +146,4 @@ throttle_period_msec = 60000
throttle_rate = 10
""")

}
}

0 comments on commit 68e8af2

Please sign in to comment.