summaryrefslogtreecommitdiff
path: root/officecfg
diff options
context:
space:
mode:
authorGiuseppe Castagno <giuseppe.castagno@acca-esse.eu>2016-01-10 17:32:53 +0100
committerGiuseppe Castagno <giuseppe.castagno@acca-esse.eu>2016-07-29 13:36:30 +0000
commit2c0b4ff238f39b5fcce09c7d36e80ac1e7cb713e (patch)
tree7e9ebdcbb1b9f034ca9205dd48cc1c6967a08f0e /officecfg
parentee79a2dd7ea60e902cab3a9203e307b8a78fee23 (diff)
tdf#101094 (11): Add WebDAV options cache configuration param.
Added in officecfg five new properties to be able to set cache lifetime if needed. The new properties are available in advanced, expert configuration only, in org.openoffice.Inet.Settings. Default values are as follows (value is in seconds): OptsCacheLifeImplWeb = 300 when the web resource is Web only, implementing OPTIONS. Min. 0 sec (no caching) max. 3600 sec (1h). OptsCacheLifeDAV = 60 when the web resource is WebDAV. Min. 0 sec (no caching) max. 3600 sec (1h). OptsCacheLifeDAVLocked = 600 when the web resource is WebDAV and it's locked by this LO instance (e.g. lock store has a lock to it). Min. 0 sec (no caching) max. 3600 sec (1h). OptsCacheLifeNotImpl = 3600 when the web resource does not implement OPTIONS method. Min. 0 sec (no caching) max. 43200 sec (12h). OptsCacheLifeNotFound = 15 when the requested web resource is not found on server. Min. 0 sec (no caching) max. 30 sec. Change-Id: I719b97645e1d91a29134820b77678fd88fcb9ac2 Reviewed-on: https://gerrit.libreoffice.org/27684 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Giuseppe Castagno <giuseppe.castagno@acca-esse.eu>
Diffstat (limited to 'officecfg')
-rw-r--r--officecfg/registry/schema/org/openoffice/Inet.xcs32
1 files changed, 32 insertions, 0 deletions
diff --git a/officecfg/registry/schema/org/openoffice/Inet.xcs b/officecfg/registry/schema/org/openoffice/Inet.xcs
index f5dcc6a817ac..76d5d2ed0912 100644
--- a/officecfg/registry/schema/org/openoffice/Inet.xcs
+++ b/officecfg/registry/schema/org/openoffice/Inet.xcs
@@ -163,6 +163,38 @@
</info>
<value>60</value>
</prop>
+ <!-- WebDAV OPTIONS cache lifetime time values -->
+ <prop oor:name="OptsCacheLifeImplWeb" oor:type="xs:int" oor:nillable="false">
+ <info>
+ <desc>Specifies the Web/DAV resource OPTIONS cache lifetime, when the web resource is Web only, implementing OPTIONS. Time in seconds. Min. 0 sec (no caching) max. 3600 sec (1h), default to 300 (5m).</desc>
+ </info>
+ <value>300</value>
+ </prop>
+ <prop oor:name="OptsCacheLifeDAV" oor:type="xs:int" oor:nillable="false">
+ <info>
+ <desc>Specifies the Web/DAV resource OPTIONS cache lifetime, when the web resource is WebDAV. Time in seconds. Min. 0 sec (no caching) max. 3600 sec (1h), default to 60 (1m).</desc>
+ </info>
+ <value>60</value>
+ </prop>
+ <prop oor:name="OptsCacheLifeDAVLocked" oor:type="xs:int" oor:nillable="false">
+ <info>
+ <desc>Specifies the Web/DAV resource OPTIONS cache lifetime, when the web resource is WebDAV and the resource is locked. Time in seconds. Min. 0 sec (no caching) max. 3600 sec (1h), default to 600 (10m).</desc>
+ </info>
+ <value>600</value>
+ </prop>
+ <prop oor:name="OptsCacheLifeNotImpl" oor:type="xs:int" oor:nillable="false">
+ <info>
+ <desc>Specifies the Web/DAV resource OPTIONS cache lifetime, when the web resource does not implement OPTIONS method. Time in seconds. Min. 0 sec (no caching) max. 43200 sec (12h), default to 3600 (1h)</desc>
+ </info>
+ <value>3600</value>
+ </prop>
+ <prop oor:name="OptsCacheLifeNotFound" oor:type="xs:int" oor:nillable="false">
+ <info>
+ <desc>Specifies the Web/DAV resource OPTIONS cache lifetime, when the web resource is not found on server. Time in seconds. Min. 0 sec (no caching) max. 30 sec, default to 15 (15 sec).</desc>
+ </info>
+ <value>15</value>
+ </prop>
+ <!-- End of WebDAV OPTIONS cache lifetime time values -->
</group>
</component>
</oor:component-schema>