Browse files

BUGFIX: use limit=10 in server/stats. fixes #61

  • Loading branch information...
1 parent d98673c commit 42b4ed39616b07487500811269d57cf80d8825af @jonenst jonenst committed Mar 19, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 server/stats/src/main/scala/Stats.scala
View
2 server/stats/src/main/scala/Stats.scala
@@ -24,7 +24,7 @@ object Stats extends App {
def recentCheckpointsMillis() = {
val before = System.currentTimeMillis
- db.view("bib_input", "recent-checkpoints").execute()
+ db.view("bib_input", "recent-checkpoints", List(("limit","10"))).execute()
System.currentTimeMillis - before
}

0 comments on commit 42b4ed3

Please sign in to comment.