mirror of
https://github.com/coredns/coredns.git
synced 2025-10-30 09:43:17 -04:00
This commit uses a cancelable context to spawn goroutines that refresh records from a cloud DNS provider. The Caddy shutdown routine uses the returned cancel function to terminate existing goroutines when a USR1 reload signal is received. Signed-off-by: Matt Kulka <mkulka@parchment.com>
2.6 KiB
2.6 KiB