feat(dns): add parallel query (#5239)

This commit is contained in:
Meow authored and GitHub committed 2025-11-21 05:45:42 +00:00
1 parent cd51f57535
commit f14fd1cbee
14 files changed
+422 -121

No files matched your search

+2 -2
View File
@@ -194,7 +194,7 @@ func (c *CacheController) migrate() {
return
}
errors.LogDebug(context.Background(), c.name, " starting background cache migration for ", len(dirtyips), " items.")
errors.LogDebug(context.Background(), c.name, " starting background cache migration for ", len(dirtyips), " items")
batch := make([]migrationEntry, 0, migrationBatchSize)
for domain, recD := range dirtyips {
@@ -214,7 +214,7 @@ func (c *CacheController) migrate() {
c.dirtyips = nil
c.Unlock()
errors.LogDebug(context.Background(), c.name, " cache migration completed.")
errors.LogDebug(context.Background(), c.name, " cache migration completed")
}
func (c *CacheController) flush(batch []migrationEntry) {