Darien Raymond %!s(int64=8) %!d(string=hai) anos
pai
achega
c6a68755b6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      transport/ray/direct.go

+ 1 - 1
transport/ray/direct.go

@@ -48,7 +48,7 @@ func init() {
 	if len(sizeStr) > 0 {
 		customSize, err := strconv.ParseUint(sizeStr, 10, 32)
 		if err == nil {
-			streamSizeLimit = uint64(customSize) * 1024 * 1024
+			streamSizeLimit = customSize * 1024 * 1024
 		}
 	}
 }