[
https://jira.jboss.org/jira/browse/DNA-626?page=com.atlassian.jira.plugin...
]
Brian Carothers updated DNA-626:
--------------------------------
Attachment: DNA-626.patch
Attached patch that reverts the default caching behavior for the path repository
implementations to not cache. It is still possible to override the cache policy for any
path repository by calling setCachePolicy(PathCachePolicy) on the repository source.
Change Default Path Repository Cache Behavior to Not Cache
----------------------------------------------------------
Key: DNA-626
URL:
https://jira.jboss.org/jira/browse/DNA-626
Project: DNA
Issue Type: Bug
Affects Versions: 0.6
Reporter: Brian Carothers
Assignee: Brian Carothers
Priority: Minor
Fix For: 0.7
Attachments: DNA-626.patch
The path repositories currently have a default cache policy that caches nodes for 30
seconds. In previous releases, nothing was cached. The default cache policy should be to
not cache anything both for backwards compatibility and to avoid confusing evaluators who
won't understand why there's a 30 second delay between them directly adding a file
or folder to an FS repository source and the corresponding node showing up in the JCR
repository.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira