Reduce ALC post refresh timeout to 0.5s instead of 2s

This commit is contained in:
Tautvidas Sipavičius
2016-02-24 15:32:44 +02:00
parent 06ad4488bf
commit 5092c3d328

View File

@@ -81,7 +81,7 @@ define([
* ALC posts on each model change * ALC posts on each model change
*/ */
_scheduleFetchPosts: function() { _scheduleFetchPosts: function() {
var timeout = 2000, var timeout = 500,
that = this; that = this;
if (this._fetchPostsTimer !== undefined) { if (this._fetchPostsTimer !== undefined) {
clearTimeout(this._fetchPostsTimer); clearTimeout(this._fetchPostsTimer);