jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-2513) Omit default BatchReadConfig in Spi2davexRepositoryServiceFactory
Date Tue, 23 Feb 2010 12:56:27 GMT
Omit default BatchReadConfig in Spi2davexRepositoryServiceFactory
-----------------------------------------------------------------

                 Key: JCR-2513
                 URL: https://issues.apache.org/jira/browse/JCR-2513
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-spi2dav
    Affects Versions: 2.0.0
            Reporter: angela
            Priority: Minor


i'd like to remove the default batchread configuration created in Spi2davexRepositoryServiceFactory
(ll 79) and instead pass 
null if the service configuration doesn't define the batch-read-config.

for test execution e.g. the given default isn't really optimal as sessions only have a short
life time and only read
a very limited amount of items (in general)... always reading with depth 4 doesn't add any
benefit in this case.
running the level1 jcr tests in jcr2dav (that as far as i saw doesn't define an extra batchread-config
took 1.5, 2.5 and 13 minutes
from null-config -> depth2 -> depth4.

if there is a strong reason for keeping that default in the factory we should at least change
that for the tests.
michael, what do you think?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message