Skip to content

Commit 3cd7dfe

Browse files
committed
renaming
1 parent 51178ca commit 3cd7dfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/apify/storage_clients/_apify/_dataset_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ class ApifyDatasetClient(DatasetClient):
2929
_MAX_PAYLOAD_SIZE = ByteSize.from_mb(9)
3030
"""Maximum size for a single payload."""
3131

32-
_SAFETY_BUFFER_PERCENT = 0.01 / 100 # 0.01%
32+
_SAFETY_BUFFER_COEFFICIENT = 0.01 / 100 # 0.01%
3333
"""Percentage buffer to reduce payload limit slightly for safety."""
3434

35-
_EFFECTIVE_LIMIT_SIZE = _MAX_PAYLOAD_SIZE - (_MAX_PAYLOAD_SIZE * _SAFETY_BUFFER_PERCENT)
35+
_EFFECTIVE_LIMIT_SIZE = _MAX_PAYLOAD_SIZE - (_MAX_PAYLOAD_SIZE * _SAFETY_BUFFER_COEFFICIENT)
3636
"""Calculated payload limit considering safety buffer."""
3737

3838
def __init__(

0 commit comments

Comments
 (0)