From: Grégoire Aubert Date: Wed, 18 Oct 2017 12:58:06 +0000 (+0200) Subject: SONAR-9936 Automatically update edition status every 5 seconds X-Git-Tag: 6.7-RC1~91 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4c2939774e21f7e0916c596dfb977e23a48a9c47;p=sonarqube.git SONAR-9936 Automatically update edition status every 5 seconds --- diff --git a/server/sonar-web/src/main/js/apps/marketplace/App.tsx b/server/sonar-web/src/main/js/apps/marketplace/App.tsx index 74512fb5dd6..eaf510ac707 100644 --- a/server/sonar-web/src/main/js/apps/marketplace/App.tsx +++ b/server/sonar-web/src/main/js/apps/marketplace/App.tsx @@ -155,6 +155,7 @@ export default class App extends React.PureComponent { editionStatus => { if (this.mounted) { this.updateEditionStatus(editionStatus); + setTimeout(this.fetchEditionStatus, 5000); } }, () => {}