tvalentyn commented on code in PR #30639:
URL: https://github.com/apache/beam/pull/30639#discussion_r1525604888


##########
sdks/python/apache_beam/runners/worker/data_plane.py:
##########
@@ -63,6 +63,7 @@
 
 _DEFAULT_SIZE_FLUSH_THRESHOLD = 10 << 20  # 10MB
 _DEFAULT_TIME_FLUSH_THRESHOLD_MS = 0  # disable time-based flush by default
+_FLUSH_MAX_SIZE = 2 << 30 - 100  # 2GB less some overhead, protobuf/grcp limit

Review Comment:
   ```suggestion
   _FLUSH_MAX_SIZE = (2 << 30) - 100  # 2GB less some overhead, protobuf/grpc 
limit
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to