Hi Walter,

It seems this is undocumented, but looking at the code [1], it looks like
it accepts second(s), minute(s), hour(s), day(s), and week(s).  So, the
commented out example is correct.  Based on glancing at the code, I'm not
sure you can set it to 0 (zero), but you could change it to something small
like "1 second" (setting it to "0 seconds" may also work).

[1]
https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/utils/DSpaceValidity.java#L147

- Tim

On Tue, Dec 5, 2017 at 6:11 PM <[email protected]> wrote:

>
> Seasons greetings all,
>
> In the dspace.cfg file if a setting with a value is commented out it
> typically is showing the default value.
> We have a user who isn't seeing updates to the communities and
> collections. I found this line in the
> dspace.cfg file which *might* be the culprit:
> #xmlui.community-list.cache = 12 hours
>
> I'm accustomed to times being specified in numeric seconds or sometimes
> minutes. This is unusual.
>
> Does that mean that 12hrs is the default value used by DSpace if a new
> value isn't specified? What if
> our site is relatively small with few changes. Can it be turned off
> completely by setting it to zero (0)?
> And what is the format of the time? Could I set xmlui.community-list.cache
> = 1 minute? 30 seconds?
>
> I've searched the manual and online but didn't find the answer to these
> question. So, any insight you
> can provide is greatly appreciated.
>
> Thank you,
>
>     Walter R.
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>
-- 
Tim Donohue
Technical Lead for DSpace & DSpaceDirect
DuraSpace.org | DSpace.org | DSpaceDirect.org

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to