Details
-
Suggestion
-
Resolution: Timed out
-
None
-
0
-
2
-
Description
Summary
Currently Bamboo has a refresh interval of 20 seconds for Ajax calls and does not provide a easy way to manage those events.
Steps to Reproduce
- open up Development panel in your web browser and go to Network section
- visit Build Dashboard - http://localhost:8085/allPlans.action
- visit Deployment Dashboard - http://localhost:8085/deploy/viewAllDeploymentProjects.action
Results
By visiting the two URL from above, you should expected the following requests in a interval of 20s:
- http://localhost:8085/rest/api/latest/server?_=1444833915903 (Build Dashboard)
- http://localhost:8085/rest/api/latest/deploy/dashboard/?_=1444650761631 (Deployment Dashboard)
Workaround
In order to change the interval, please:
<bamboo-install>/atlassian-bamboo/scripts/bamboo.js
/* * The following property is responsible for http://localhost:8085/allPlans.action interval/refresh * please, update '20' to a value (in seconds) you want to have the interval/refresh to happen */ BAMBOO.reloadDashboardTimeout = 20;
<bamboo-install>/atlassian-bamboo/feature/deployment/project/project-list/project-list.js
/* * The following property is responsible for http://localhost:8085/deploy/viewAllDeploymentProjects.action interval/refresh * please, update 'delayBeforeUpdate' to a value (in seconds) you want to have the interval/refresh to happen */ this._timeout = setTimeout( _.bind(this.onUpdate, this), delayBeforeUpdate );