Skip to content

Commit 3650283

Browse files
authored
chore: remove todo from auto tls (#2844)
The `acme-client` module takes care of retries after 429s so no need to handle it at this level.
1 parent b02ea9b commit 3650283

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/auto-tls/src/auto-tls.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,6 @@ export class AutoTLS implements AutoTLSInterface {
179179
private async fetchCertificate (multiaddrs: Multiaddr[], options?: AbortOptions): Promise<void> {
180180
this.log('fetching certificate')
181181

182-
// TODO: handle rate limit errors like "too many new registrations (10) from this IP address in the last 3h0m0s, retry after 2024-11-01 09:22:38 UTC: see https://letsencrypt.org/docs/rate-limits/#new-registrations-per-ip-address"
183-
184182
const certificatePrivateKey = await loadOrCreateKey(this.keychain, this.certificatePrivateKeyName, this.certificatePrivateKeyBits)
185183
const { pem, cert } = await this.loadOrCreateCertificate(certificatePrivateKey, multiaddrs, options)
186184

0 commit comments

Comments
 (0)