[
https://issues.apache.org/jira/browse/SLING-5924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simone Tripodi updated SLING-5924:
----------------------------------
Attachment: SLING-5924.patch
Hi [~teofili] can you check if switching from a {{ByteArrayOutputStream}} to a
non direct {{ByteBuffer}} the performances are better?
I prepared a patch for this, in attachment.
TIA!
> 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)