make things a bit more stricter
This commit is contained in:
parent
632fc9073b
commit
417724f6ce
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
(defproject bigbrother "0.1.4"
|
||||
(defproject bigbrother "0.1.4.2"
|
||||
:description "Periodically send metrics"
|
||||
:url "http://github.com/yogsototh/bigbrother"
|
||||
:license {:name "MIT"
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
(cond (empty? st) st2
|
||||
(empty? st2) st
|
||||
:else (doall (map add-one-sumtime st st2))))
|
||||
|
||||
(defn fmap-sumtimes [f st]
|
||||
(map (fn [v] [(first v) [(f (ts-timespent v))
|
||||
(ts-nb v)]]) st))
|
||||
|
|
Loading…
Reference in a new issue