Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加一个启动延迟,或者 callback 添加重试 #1388

Open
2 tasks done
VergilGao opened this issue Feb 9, 2025 · 2 comments
Open
2 tasks done

添加一个启动延迟,或者 callback 添加重试 #1388

VergilGao opened this issue Feb 9, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@VergilGao
Copy link

Description

我的 ddns-go 和 callback 调用的 api 服务同时都在 openwrt 上部署,我发现因为 ddns-go 部署在路由器host上(这样可以通过网卡获取 ip) 而 callback api 部署在容器内(我自己写的 python 服务,写的比较烂),所以在开机时总会 ddns-go 先启用而 callback api 此时还没有启动
所以我建议要么 ddns-go 启动增加延迟,比如首次启动后设置一个 delay 时间再进行 ddns 操作,要么 callback 调用增加重试,比如30秒等待,重复3次这样。

Problem

No response

Other Description

No response

Checklist

  • I am using the latest version and have confirmed that the feature is not yet implemented in the latest version
  • I have searched for similar feature requests before submitting this one
@VergilGao VergilGao added the enhancement New feature or request label Feb 9, 2025
@jeessy2
Copy link
Owner

jeessy2 commented Feb 9, 2025

首次启动会检测网络(DNS)

@VergilGao
Copy link
Author

首次启动会检测网络(DNS)

不是,我的意思是ddns更新后的回调那个服务可能还没启动,所以导致路由重启以后,ddns更新的回调消息我收不到。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants