throttled updates -> 1000ms
This commit is contained in:
@@ -42,7 +42,7 @@ function init () {
|
|||||||
rootElement = createElement(currentVDom)
|
rootElement = createElement(currentVDom)
|
||||||
document.body.appendChild(rootElement)
|
document.body.appendChild(rootElement)
|
||||||
|
|
||||||
updateThrottled = throttle(update, 250)
|
updateThrottled = throttle(update, 1000)
|
||||||
|
|
||||||
getClient(function (err, client) {
|
getClient(function (err, client) {
|
||||||
if (err) return onError(err)
|
if (err) return onError(err)
|
||||||
|
|||||||
Reference in New Issue
Block a user