feat(core): Refactor SmartAcme core to centralize interest coordination and update dependencies
This commit is contained in:
@ -63,7 +63,7 @@ export class SmartAcme {
|
||||
|
||||
|
||||
// certificate manager for persistence (implements ICertManager)
|
||||
private certmanager: ICertManager;
|
||||
public certmanager: ICertManager;
|
||||
private certmatcher: SmartacmeCertMatcher;
|
||||
// retry/backoff configuration (resolved with defaults)
|
||||
private retryOptions: { retries: number; factor: number; minTimeoutMs: number; maxTimeoutMs: number };
|
||||
@ -116,11 +116,6 @@ export class SmartAcme {
|
||||
}
|
||||
this.certmanager = this.options.certManager;
|
||||
await this.certmanager.init();
|
||||
// For integration environment, clear any existing certificates to avoid stale entries
|
||||
if (this.options.environment === 'integration' && typeof (this.certmanager as any).wipe === 'function') {
|
||||
// this.logger.log('warn', 'Wiping existing certificates for integration environment');
|
||||
// await (this.certmanager as any).wipe();
|
||||
}
|
||||
|
||||
// CertMatcher
|
||||
this.certmatcher = new SmartacmeCertMatcher();
|
||||
|
Reference in New Issue
Block a user