This is an automated email from the ASF dual-hosted git repository.

tmaret pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-journal.git


The following commit(s) were added to refs/heads/master by this push:
     new 15bebd6  SLING-8415 - compute max inline pkg binary size using long
15bebd6 is described below

commit 15bebd62f344a12801b1086018fcc77de8f6c110
Author: tmaret <[email protected]>
AuthorDate: Sat May 11 16:15:44 2019 +0200

    SLING-8415 - compute max inline pkg binary size using long
---
 .../distribution/journal/impl/publisher/PackageMessageFactory.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/sling/distribution/journal/impl/publisher/PackageMessageFactory.java
 
b/src/main/java/org/apache/sling/distribution/journal/impl/publisher/PackageMessageFactory.java
index ab69eb8..fcd3869 100644
--- 
a/src/main/java/org/apache/sling/distribution/journal/impl/publisher/PackageMessageFactory.java
+++ 
b/src/main/java/org/apache/sling/distribution/journal/impl/publisher/PackageMessageFactory.java
@@ -54,7 +54,7 @@ public class PackageMessageFactory {
 
     private static final Logger LOG = 
LoggerFactory.getLogger(PackageMessageFactory.class);
 
-    private static final long MAX_INLINE_PKG_BINARY_SIZE = 800 * 1024;
+    private static final long MAX_INLINE_PKG_BINARY_SIZE = 800L * 1024;
 
     @Reference
     private SlingSettingsService slingSettings;

Reply via email to