We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51178ca commit 3cd7dfeCopy full SHA for 3cd7dfe
src/apify/storage_clients/_apify/_dataset_client.py
@@ -29,10 +29,10 @@ class ApifyDatasetClient(DatasetClient):
29
_MAX_PAYLOAD_SIZE = ByteSize.from_mb(9)
30
"""Maximum size for a single payload."""
31
32
- _SAFETY_BUFFER_PERCENT = 0.01 / 100 # 0.01%
+ _SAFETY_BUFFER_COEFFICIENT = 0.01 / 100 # 0.01%
33
"""Percentage buffer to reduce payload limit slightly for safety."""
34
35
- _EFFECTIVE_LIMIT_SIZE = _MAX_PAYLOAD_SIZE - (_MAX_PAYLOAD_SIZE * _SAFETY_BUFFER_PERCENT)
+ _EFFECTIVE_LIMIT_SIZE = _MAX_PAYLOAD_SIZE - (_MAX_PAYLOAD_SIZE * _SAFETY_BUFFER_COEFFICIENT)
36
"""Calculated payload limit considering safety buffer."""
37
38
def __init__(
0 commit comments