1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-09-26 13:56:12 -04:00
This commit is contained in:
Darien Raymond 2018-05-08 17:40:16 +02:00
parent 892828630e
commit 70b2b22047
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

View File

@ -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
}
} }