Skip to content

Commit 5dac5de

Browse files
committed
docs(policy-smart): add smart policy example in config
1 parent 08d7693 commit 5dac5de

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

example.dae

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,12 @@ group {
277277
#policy: min
278278

279279
# Select the node with min moving average of latencies from the group for every connection.
280+
#policy: min_moving_avg
281+
282+
# Smart policy: select by moving average + runtime failure penalty.
283+
# Recommended when you want faster failover on transient dial failures.
284+
#policy: smart
285+
280286
policy: min_moving_avg
281287
}
282288

0 commit comments

Comments
 (0)