mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 21:07:28 -08:00
feat(core): Log a warning if automatic license renewal is disabled (no-changelog) (#9569)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
parent
19213efc30
commit
8a09806c5a
|
@ -181,6 +181,16 @@ export class Start extends BaseCommand {
|
|||
|
||||
await this.initOrchestration();
|
||||
this.logger.debug('Orchestration init complete');
|
||||
|
||||
if (
|
||||
!config.getEnv('license.autoRenewEnabled') &&
|
||||
config.getEnv('multiMainSetup.instanceType') === 'leader'
|
||||
) {
|
||||
this.logger.warn(
|
||||
'Automatic license renewal is disabled. The license will not renew automatically, and access to licensed features may be lost!',
|
||||
);
|
||||
}
|
||||
|
||||
Container.get(WaitTracker).init();
|
||||
this.logger.debug('Wait tracker init complete');
|
||||
await this.initBinaryDataService();
|
||||
|
|
Loading…
Reference in a new issue