typo(counts): Fix duration computation

This commit is contained in:
Ben Gotow 2016-03-18 10:43:32 -07:00
parent 5bc00bd55e
commit 26c752ba66

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) =>