"Recent" history is now 10 minutes instead of 6.
This commit is contained in:
parent
6079f238cd
commit
9e603728e6
@ -530,7 +530,7 @@
|
|||||||
|
|
||||||
(defn split-history [history]
|
(defn split-history [history]
|
||||||
(let [most-recent-time (:time (last history))
|
(let [most-recent-time (:time (last history))
|
||||||
cutoff-time (- most-recent-time (* 6 60 1000))]
|
cutoff-time (- most-recent-time (* 10 60 1000))]
|
||||||
(split-with #(< (:time %) cutoff-time) history)))
|
(split-with #(< (:time %) cutoff-time) history)))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user