fix(dnscaching): display stats for DNS caching (#1858)

* fix(dnscaching): display stats for DNS caching

* fix: add missing translation
This commit is contained in:
Gauthier
2025-08-20 11:32:59 +02:00
committed by GitHub
parent d3fd5028dc
commit 368ecf8771
7 changed files with 20 additions and 50 deletions

View File

@@ -1,7 +1,7 @@
import logger from '@server/logger';
import { DnsCacheManager } from 'dns-caching';
let dnsCache: DnsCacheManager | undefined;
export let dnsCache: DnsCacheManager | undefined;
export function initializeDnsCache({
forceMinTtl,
@@ -24,5 +24,3 @@ export function initializeDnsCache({
});
dnsCache.initialize();
}
export default dnsCache;