Skip to content
Snippets Groups Projects
Commit c07010a8 authored by srosse's avatar srosse
Browse files

no-jira: fix pooler error counter

parent a939344c
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ function tick () { ...@@ -47,7 +47,7 @@ function tick () {
timestampLastPoll = now; timestampLastPoll = now;
pollcount++; pollcount++;
pollgrowth = Math.ceil((this.period+pollgrowth)*(100+growthrate)/100) - this.period; pollgrowth = Math.ceil((this.period+pollgrowth)*(100+growthrate)/100) - this.period;
o_info.ajaxpp = jQuery.ajax({method:'POST', url:'$mapuri/', success:onPollSuccess, failure: onPollFailure}); o_info.ajaxpp = jQuery.ajax({method:'POST', url:'$mapuri/', success:onPollSuccess, error:onPollFailure});
//var idl = (now - o_info.lastClickTime)/1000; //var idl = (now - o_info.lastClickTime)/1000;
//log("sent poll request. idle="+idl+"s gr="+growthrate+" g="+pollgrowth+" c="+pollcount+" eff="+Math.floor(idl/pollcount*1000)); //log("sent poll request. idle="+idl+"s gr="+growthrate+" g="+pollgrowth+" c="+pollcount+" eff="+Math.floor(idl/pollcount*1000));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment