Skip to content

Commit a81ed32

Browse files
author
KIvanow
committed
RI-7091 - Add an environment variable to skip the EULA screen - testing a work around fix on top of Artem's suggestion
1 parent fc13b7a commit a81ed32

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

redisinsight/api/src/modules/init/local.init.service.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ export class LocalInitService extends InitService {
3232
await this.initAnalytics(firstStart);
3333
await this.featureService.recalculateFeatureFlags(sessionMetadata);
3434
await this.redisClientFactory.init();
35-
await this.databaseDiscoveryService.discover(sessionMetadata, firstStart);
35+
process.nextTick(async () => {
36+
await this.databaseDiscoveryService.discover(sessionMetadata, firstStart);
37+
});
3638
}
3739

3840
async initAnalytics(firstStart: boolean) {

0 commit comments

Comments
 (0)