mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-10-25 23:59:25 +00:00
fix #1087
This commit is contained in:
@@ -57,5 +57,7 @@ func init() {
|
||||
Name: raySizeEnvKey,
|
||||
AltName: platform.NormalizeEnvName(raySizeEnvKey),
|
||||
}.GetValueAsInt(10)
|
||||
defaultLimit = int32(size) * 1024 * 1024
|
||||
if size > 0 {
|
||||
defaultLimit = int32(size) * 1024 * 1024
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user