You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2016/07/29 14:46:20 UTC
[jira] [Commented] (SLING-5924) Resource package builder threshold
is too low
[ https://issues.apache.org/jira/browse/SLING-5924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399431#comment-15399431 ]
Simone Tripodi commented on SLING-5924:
---------------------------------------
An idea I just had is adding a flag to enable large files storage in memory via direct {{ByteBuffer}}... WDYT? I am preparing a patch for this so we can give users more freedom
> Resource package builder threshold is too low
> ---------------------------------------------
>
> Key: SLING-5924
> URL: https://issues.apache.org/jira/browse/SLING-5924
> Project: Sling
> Issue Type: Improvement
> Components: Distribution
> Reporter: Tommaso Teofili
> Assignee: Tommaso Teofili
> Fix For: Content Distribution 0.2.0
>
> Attachments: SLING-5924.patch
>
>
> The _fileThreshold_ default in {{ResourceDistributionPackageBuilder}} is set to 128KB, that is generally a bit too low even for small resources (one resource with a few properties).
> I'd raise the default to something that's generally big enough to contain one resource, e.g. 1MB.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)