Branch: refs/heads/master
  Commit: 096614a6d72c19633909248cb5b06a179b8b4040
  Author: lpancescu <>
  Date:   2016-09-17 (Sat, 17 Sep 2016)

  Changed paths:
    M war/src/main/webapp/scripts/hudson-behavior.js

  Log Message:
  [JENKINS-10912] Use setInterval in refreshPart (#2539)

* [JENKINS-10912] Use setInterval in refreshPart

The current implementation of refreshPart creates a new closure every 5
seconds, which, in combination with XMLHttpRequest objects, results in a
significant memory leak in all major browsers. By using
window.setInterval to schedule periodic refreshes, only one closure per
id is created. Please see issue #10912 in the Jenkins tracker for
further details.

* Stop periodical calls if we can't find the div

* Don't check if isRunAsTest changed after page load

You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to