HTTP源站有多个L2节点时发生错误时会主动尝试下一个L2节点

This commit is contained in:
GoEdgeLab
2022-08-03 20:30:59 +08:00
parent 005f3bd370
commit cad5b8421b
2 changed files with 11 additions and 6 deletions

View File

@@ -16,6 +16,6 @@ func (this *HTTPRequest) checkLnRequest() bool {
return false
}
func (this *HTTPRequest) getLnOrigin() *serverconfigs.OriginConfig {
return nil
func (this *HTTPRequest) getLnOrigin(excludingNodeIds []int64) (originConfig *serverconfigs.OriginConfig, lnNodeId int64, hasMultipleNodes bool) {
return nil, 0, false
}