change the default policy of engine group

This commit is contained in:
Lunny Xiao 2017-09-28 17:37:39 +08:00
parent 51acb3530a
commit caf55f1ca3
No known key found for this signature in database
GPG Key ID: C3B7C91B632F738A
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ func NewEngineGroup(args1 interface{}, args2 interface{}, policies ...GroupPolic
if len(policies) > 0 {
eg.policy = policies[0]
} else {
eg.policy = RandomPolicy()
eg.policy = RoundRobinPolicy()
}
driverName, ok1 := args1.(string)