mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
fix: Resolve race condition causing unnecessary license renewals (#12966)
Co-authored-by: Tomi Turtiainen <10324676+tomi@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
118be24d25
commit
d9d64083d3
@@ -96,7 +96,7 @@
|
||||
"@n8n/task-runner": "workspace:*",
|
||||
"@n8n/typeorm": "0.3.20-12",
|
||||
"@n8n_io/ai-assistant-sdk": "1.13.0",
|
||||
"@n8n_io/license-sdk": "2.15.0",
|
||||
"@n8n_io/license-sdk": "2.15.1",
|
||||
"@oclif/core": "4.0.7",
|
||||
"@rudderstack/rudder-sdk-node": "2.0.9",
|
||||
"@sentry/node": "catalog:",
|
||||
|
||||
@@ -401,7 +401,9 @@ export class License {
|
||||
}
|
||||
|
||||
async reinit() {
|
||||
this.manager?.reset();
|
||||
if (this.manager) {
|
||||
await this.manager.reset();
|
||||
}
|
||||
await this.init({ forceRecreate: true });
|
||||
this.logger.debug('License reinitialized');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user