mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Increase the default HTTPClient download chunk size to 64 KiB
This improves download speeds at the cost of increased memory usage. This change also effects HTTPRequest automatically. See #32807 and #33862.
This commit is contained in:
@@ -180,7 +180,7 @@
|
||||
<member name="connection" type="StreamPeer" setter="set_connection" getter="get_connection">
|
||||
The connection to use for this client.
|
||||
</member>
|
||||
<member name="read_chunk_size" type="int" setter="set_read_chunk_size" getter="get_read_chunk_size" default="4096">
|
||||
<member name="read_chunk_size" type="int" setter="set_read_chunk_size" getter="get_read_chunk_size" default="65536">
|
||||
The size of the buffer used and maximum bytes to read per iteration. See [method read_response_body_chunk].
|
||||
</member>
|
||||
</members>
|
||||
|
||||
Reference in New Issue
Block a user