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

支持配置文件指定连接中断后重试时间间隔(原来的程序写死10分钟且不可修改) #283

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zxy1994
Copy link

@zxy1994 zxy1994 commented Nov 7, 2022

场景:

fastdfs挂了被重启后,程序没有重新建立连接,导致需要运维重启应用程序;经过分析发现是这个连接中断后的重试间隔太长了,10分钟太久了。因此希望将该参数放出来变成一个可配置项(程序里面写死了10分钟),故提交了此次pr

使用说明:

如果不配置,连接中断后重试时间间隔还是10分钟;如果需要修改,可以参考如下配置:

fdfs:
  #配置连接中断后,30s重连
  retry-after-second: 30

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

Successfully merging this pull request may close these issues.

1 participant