increase wait time for daemon start from 15 to 30 seconds

This commit is contained in:
Akinwale Ariwodola 2018-10-28 18:40:50 +01:00
parent 9b303b38c7
commit 5548068202

View file

@ -13,7 +13,7 @@ import Constants from '../../../constants';
import firstRunStyle from '../../../styles/firstRun';
class EmailCollectPage extends React.PureComponent {
static MAX_STATUS_TRIES = 15;
static MAX_STATUS_TRIES = 30;
state = {
email: null,
@ -57,7 +57,7 @@ class EmailCollectPage extends React.PureComponent {
setTimeout(() => {
this.startAuthenticating();
this.setState({ statusTries: this.state.statusTries + 1 });
}, 1000); // Retry every second for a maximum of MAX_STATUS_TRIES tries (15 seconds)
}, 1000); // Retry every second for a maximum of MAX_STATUS_TRIES tries (30 seconds)
}
});
}