mirror of https://github.com/v2ray/v2ray-core
fix #1087
parent
892828630e
commit
70b2b22047
|
@ -57,5 +57,7 @@ func init() {
|
||||||
Name: raySizeEnvKey,
|
Name: raySizeEnvKey,
|
||||||
AltName: platform.NormalizeEnvName(raySizeEnvKey),
|
AltName: platform.NormalizeEnvName(raySizeEnvKey),
|
||||||
}.GetValueAsInt(10)
|
}.GetValueAsInt(10)
|
||||||
defaultLimit = int32(size) * 1024 * 1024
|
if size > 0 {
|
||||||
|
defaultLimit = int32(size) * 1024 * 1024
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue