fabric8-services / fabric8-jenkins-proxy

Apache License 2.0
1 stars 16 forks source link

Jenkins Proxy Loading page sends 2 XHR instead of one while waiting for jenkins to get unidled #256

Closed sthaha closed 6 years ago

sthaha commented 6 years ago

Steps to reproduce

  1. Wait for jenkins to be idled
  2. goto https:jenkins.openshift.io
  3. Watch network requests to proxy

Expected:

Actual

Probable cause & solution:

index.html makes two calls - check() and then setTimeout. you would find that check already does a setTimeout so deleting the setTimeout after check may solve this