TimothyYe / godns

A dynamic DNS client tool that supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc, written in Go.
https://timothyye.github.io/godns/
Apache License 2.0
1.5k stars 220 forks source link

run_once选项失效 #166

Closed ghost closed 2 years ago

ghost commented 2 years ago

最后一个可用的版本是2.7.8,从2.7.9版本开始,run_once选项就失效了,运行一次之后不会自己退出进程。

TimothyYe commented 2 years ago

之前代码进行了重构,实际上还是生效的,不过要等第一轮循环完默认sleep 5分钟过后才退出。我把这个地方又重新改进了一下,配置了run_once过后可以立马退出了。

TimothyYe commented 2 years ago

https://github.com/TimothyYe/godns/releases/tag/v2.8.4 这个最新的版本修复了这个问题