mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00: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:
committed by
GitHub
parent
19213efc30
commit
8a09806c5a
@@ -181,6 +181,16 @@ export class Start extends BaseCommand {
|
|||||||
|
|
||||||
await this.initOrchestration();
|
await this.initOrchestration();
|
||||||
this.logger.debug('Orchestration init complete');
|
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();
|
Container.get(WaitTracker).init();
|
||||||
this.logger.debug('Wait tracker init complete');
|
this.logger.debug('Wait tracker init complete');
|
||||||
await this.initBinaryDataService();
|
await this.initBinaryDataService();
|
||||||
|
|||||||
Reference in New Issue
Block a user