You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by GitBox <gi...@apache.org> on 2021/06/22 20:40:53 UTC

[GitHub] [sling-org-apache-sling-distribution-journal] joerghoh commented on a change in pull request #75: SLING-10528 - Reject large packages

joerghoh commented on a change in pull request #75:
URL: https://github.com/apache/sling-org-apache-sling-distribution-journal/pull/75#discussion_r656562771



##########
File path: src/main/java/org/apache/sling/distribution/journal/bookkeeper/BookKeeper.java
##########
@@ -85,6 +85,7 @@
     private static final String SUBSERVICE_IMPORTER = "importer";
     private static final String SUBSERVICE_BOOKKEEPER = "bookkeeper";
     private static final int RETRY_SEND_DELAY = 1000;
+    static final long MAX_PACKAGE_SIZE = 5242880; // 5MB

Review comment:
       Shouldn't we make that configurable? 5 MB seems to be a reasonable default though.




-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org