Skip to content

Commit

Permalink
BUGFIX: use limit=10 in server/stats. fixes #61
Browse files Browse the repository at this point in the history
  • Loading branch information
jonenst committed Mar 19, 2012
1 parent d98673c commit 42b4ed3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/stats/src/main/scala/Stats.scala
Expand Up @@ -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
}

Expand Down

0 comments on commit 42b4ed3

Please sign in to comment.