Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Increase the default media chunksize to 100MB.
The current `DEFAULT_CHUNK_SIZE` of 512kb leads to unnecessarily slow
transfers, as in googlecolab/backend-container#1. Increasing this simply
lowers the overhead for large transfers.

Fixes #481.
  • Loading branch information
craigcitro committed Feb 28, 2018
commit d1aa691facb8952f460599eb309c68357ee3d562
2 changes: 1 addition & 1 deletion googleapiclient/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

LOGGER = logging.getLogger(__name__)

DEFAULT_CHUNK_SIZE = 512*1024
DEFAULT_CHUNK_SIZE = 100*1024*1024

MAX_URI_LENGTH = 2048

Expand Down