fix(server): return early from license health check when quantity matches (#11111)

This commit is contained in:
fengmk2
2025-03-24 04:21:59 +00:00
parent 29fdbb7105
commit cb71b292fc

View File

@@ -238,7 +238,7 @@ export class LicenseService implements OnModuleInit {
const res = await this.revalidateLicense(license);
if (res?.quantity === memberRequired) {
break;
return;
}
} catch (e) {
this.logger.error('Failed to check license health', e);