Skip to content

Commit

Permalink
fix: overwrite url-test interval not work (vernesong#3273)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnsilvan authored and zheshifandian committed May 19, 2023
1 parent dc4896e commit d71948a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ yml_other_set()
Value['proxy-groups'].each{
|x|
if x['type'] == 'url-test' then
x['tolerance']='${tolerance}';
x['tolerance']=${tolerance};
end
};
end;
Expand All @@ -845,15 +845,15 @@ yml_other_set()
Value['proxy-groups'].each{
|x|
if x['type'] == 'url-test' or x['type'] == 'fallback' or x['type'] == 'load-balance' then
x['interval']='${urltest_interval_mod}';
x['interval']=${urltest_interval_mod};
end
};
end;
if Value.key?('proxy-providers') then
Value['proxy-providers'].values.each{
|x|
if x['health-check'] and x['health-check']['enable'] and x['health-check']['enable'] == 'true' then
x['health-check']['interval']='${urltest_interval_mod}';
x['health-check']['interval']=${urltest_interval_mod};
end;
};
end;
Expand Down

0 comments on commit d71948a

Please sign in to comment.