Browse files

fix missing of command stats in stats

  • Loading branch information...
1 parent 81d4b1e commit 03a3b8f5b8b4fc9cf1ba24f88d5dd357c9d2b965 @sunng87 committed Oct 30, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/clojalk/core.clj
View
2 src/clojalk/core.clj
@@ -495,7 +495,7 @@
commands-stats @commands
commands-stats-keys (keys commands-stats)]
; (dbg commands-stats)
- (merge (zipmap commands-stats-keys (map #(deref (commands-stats %)) commands-stats-keys))
+ (merge (zipmap commands-stats-keys (doall (map #(deref (commands-stats %)) commands-stats-keys)))
{:job-timeouts @job-timeouts
:current-tubes (count @tubes)
:current-connections (count all-sessions)

0 comments on commit 03a3b8f

Please sign in to comment.