typo(counts): Fix duration computation

This commit is contained in:
Ben Gotow 2016-03-18 10:43:32 -07:00
parent 301cc4ad8b
commit 55c205fe86

View file

@ -84,7 +84,7 @@ class ThreadCountsStore extends NylasStore
DatabaseStore._query(SetCountsQuery())
.then =>
NylasEnv.config.set('nylas.threadCountsValid', true)
console.log("Recomputed all thread counts in #{countsStartTime}s")
console.log("Recomputed all thread counts in #{Date.now() - countsStartTime}ms")
_onCountsChanged: =>
DatabaseStore._query(ReadCountsQuery()).then (results) =>