✨ 反向代理 gRPC 端口(支持 Cloudflare CDN)
This commit is contained in:
parent
6de171feee
commit
3ecfb1f1eb
@ -63,7 +63,7 @@ func DispatchKeepalive() {
|
|||||||
dao.SortedServerLock.RLock()
|
dao.SortedServerLock.RLock()
|
||||||
defer dao.SortedServerLock.RUnlock()
|
defer dao.SortedServerLock.RUnlock()
|
||||||
for i := 0; i < len(dao.SortedServerList); i++ {
|
for i := 0; i < len(dao.SortedServerList); i++ {
|
||||||
if dao.SortedServerList[i] == nil || dao.SortedServerList[i].TaskStream == nil || dao.SortedServerList[i].TaskStream.Context().Err() != nil {
|
if dao.SortedServerList[i] == nil || dao.SortedServerList[i].TaskStream == nil {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user