Merge pull request #3400 from bluewave-labs/fix/dns-cache-ttl

fix: set DNS cache TTL to prevent stale lookups
This commit is contained in:
Alexander Holliday authored and GitHub committed 2026-03-11 10:36:08 -07:00
commit 25baff3013
1 file changed
+1 -1
@@ -15,7 +15,7 @@ export class HttpProvider implements IStatusProvider<HttpStatusPayload> {
private got: Got,
private advancedMatcher: AdvancedMatcher
) {
const cacheable = new CacheableLookup();
const cacheable = new CacheableLookup({ maxTtl: 300, errorTtl: 30 });
this.got = got.extend({
dnsCache: cacheable,
timeout: {