mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-22 23:13:01 +00:00
chore: fix some typos in comments
Signed-off-by: writegr <wellweek@outlook.com>
This commit is contained in:
parent
e9eec57b46
commit
dd16dcec03
@ -864,7 +864,7 @@ type StrategyLeastLoadConfig struct {
|
|||||||
Baselines []int64 `protobuf:"varint,3,rep,packed,name=baselines,proto3" json:"baselines,omitempty"`
|
Baselines []int64 `protobuf:"varint,3,rep,packed,name=baselines,proto3" json:"baselines,omitempty"`
|
||||||
// expected nodes count to select
|
// expected nodes count to select
|
||||||
Expected int32 `protobuf:"varint,4,opt,name=expected,proto3" json:"expected,omitempty"`
|
Expected int32 `protobuf:"varint,4,opt,name=expected,proto3" json:"expected,omitempty"`
|
||||||
// max acceptable rtt, filter away high delay nodes. defalut 0
|
// max acceptable rtt, filter away high delay nodes. default 0
|
||||||
MaxRTT int64 `protobuf:"varint,5,opt,name=maxRTT,proto3" json:"maxRTT,omitempty"`
|
MaxRTT int64 `protobuf:"varint,5,opt,name=maxRTT,proto3" json:"maxRTT,omitempty"`
|
||||||
// acceptable failure rate
|
// acceptable failure rate
|
||||||
Tolerance float32 `protobuf:"fixed32,6,opt,name=tolerance,proto3" json:"tolerance,omitempty"`
|
Tolerance float32 `protobuf:"fixed32,6,opt,name=tolerance,proto3" json:"tolerance,omitempty"`
|
||||||
|
@ -147,7 +147,7 @@ message StrategyLeastLoadConfig {
|
|||||||
repeated int64 baselines = 3;
|
repeated int64 baselines = 3;
|
||||||
// expected nodes count to select
|
// expected nodes count to select
|
||||||
int32 expected = 4;
|
int32 expected = 4;
|
||||||
// max acceptable rtt, filter away high delay nodes. defalut 0
|
// max acceptable rtt, filter away high delay nodes. default 0
|
||||||
int64 maxRTT = 5;
|
int64 maxRTT = 5;
|
||||||
// acceptable failure rate
|
// acceptable failure rate
|
||||||
float tolerance = 6;
|
float tolerance = 6;
|
||||||
|
@ -38,7 +38,7 @@ type strategyLeastLoadConfig struct {
|
|||||||
Baselines []duration.Duration `json:"baselines,omitempty"`
|
Baselines []duration.Duration `json:"baselines,omitempty"`
|
||||||
// expected nodes count to select
|
// expected nodes count to select
|
||||||
Expected int32 `json:"expected,omitempty"`
|
Expected int32 `json:"expected,omitempty"`
|
||||||
// max acceptable rtt, filter away high delay nodes. defalut 0
|
// max acceptable rtt, filter away high delay nodes. default 0
|
||||||
MaxRTT duration.Duration `json:"maxRTT,omitempty"`
|
MaxRTT duration.Duration `json:"maxRTT,omitempty"`
|
||||||
// acceptable failure rate
|
// acceptable failure rate
|
||||||
Tolerance float64 `json:"tolerance,omitempty"`
|
Tolerance float64 `json:"tolerance,omitempty"`
|
||||||
|
Loading…
Reference in New Issue
Block a user