hook重试新增延时功能

This commit is contained in:
xiongziliang
2022-06-18 14:09:38 +08:00
parent 06f5bda8b3
commit 272eca1249
2 changed files with 37 additions and 33 deletions

View File

@@ -157,8 +157,10 @@ on_server_keepalive=https://127.0.0.1/index/hook/on_server_keepalive
timeoutSec=10
#keepalive hook触发间隔,单位秒float类型
alive_interval=10.0
#hook通知重试次数
retry=2
#hook通知失败重试次数,正整数。为0不重试1时重试一次以此类推
retry=1
#hook通知失败重试延时单位秒float型
retry_delay=3.0
[cluster]
#设置源站拉流url模板, 格式跟printf类似第一个%s指定app,第二个%s指定stream_id,