mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(core): Add support for floating licenses (#7090)
This PR updates the license-sdk to v2.5.0 which introduces optional support for floating licenses.
This commit is contained in:
committed by
GitHub
parent
fd78021b68
commit
e26553f198
@@ -104,6 +104,14 @@ export class License {
|
||||
await this.manager.renew();
|
||||
}
|
||||
|
||||
async shutdown() {
|
||||
if (!this.manager) {
|
||||
return;
|
||||
}
|
||||
|
||||
await this.manager.shutdown();
|
||||
}
|
||||
|
||||
isFeatureEnabled(feature: BooleanLicenseFeature) {
|
||||
return this.manager?.hasFeatureEnabled(feature) ?? false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user