Commit a70d6f9f authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Skip timeouts for stats api calls

using the skip_timeouts mechanism
parent c83bacae
......@@ -946,7 +946,8 @@
error: _.bind(this.handle_stats_error, this),
complete: _.bind(function(){this.updating_stats = false;}, this),
critical: false,
log_error: false
log_error: false,
skips_timeouts: true
});
},
......
......@@ -96,7 +96,7 @@
// timeout value from settings.py
var TIMEOUT = {{ timeout }};
var TIMEOUTS_OCCURED = 0;
var SKIP_TIMEOUTS = 1;
var SKIP_TIMEOUTS = {{ skip_timeouts }};
var UPDATE_INTERVAL = {{ update_interval }};
var APP_DEBUG = {% if DEBUG %}true{% else %}false{% endif %};
var FEEDBACK_URL = "{% url feedback %}";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment