Skip to content

Commit

Permalink
drop unnecessary configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
earldouglas committed Sep 17, 2012
1 parent 73481d5 commit 93ecab4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 1 addition & 7 deletions blueeyes/blueeyes.config
Expand Up @@ -3,14 +3,8 @@ server {
sslPort = 8181
}
services {
calculatorService {
scamperService {
v1 {
# An example of how to configure Mongo
# It is not used by the Calculator Service
mongo {
servers = ["localhost"]
database = "calculator"
}
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion blueeyes/src/main/scala/scamper/Scamper.scala
Expand Up @@ -12,14 +12,15 @@ import blueeyes.BlueEyesServer
object ScamperServer extends BlueEyesServer with ScamperService

trait ScamperService extends BlueEyesServiceBuilder with BijectionsChunkString {

def sleep(ms: Long): Long = {
val start = System.currentTimeMillis
Thread.sleep(ms)
val stop = System.currentTimeMillis
stop - start
}

val calculatorService = service("calculatorService", "1.0.0") {
val scamperService = service("scamperService", "1.0.0") {
context =>
startup {
Future { () }
Expand Down

0 comments on commit 93ecab4

Please sign in to comment.