]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9936 Automatically update edition status every 5 seconds
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>
Wed, 18 Oct 2017 12:58:06 +0000 (14:58 +0200)
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>
Mon, 23 Oct 2017 15:01:13 +0000 (08:01 -0700)
server/sonar-web/src/main/js/apps/marketplace/App.tsx

index 74512fb5dd6db346f932d4792d0ab7b4ad1747f7..eaf510ac7073ee696b1ac168c07625f26c6120f1 100644 (file)
@@ -155,6 +155,7 @@ export default class App extends React.PureComponent<Props, State> {
       editionStatus => {
         if (this.mounted) {
           this.updateEditionStatus(editionStatus);
+          setTimeout(this.fetchEditionStatus, 5000);
         }
       },
       () => {}