Changeset 50208
- Timestamp:
- 11/22/06 12:29:25 (3 years ago)
- Files:
-
- CPS3/products/CPSPortlets/trunk/CHANGES (modified) (1 diff)
- CPS3/products/CPSPortlets/trunk/CPSPortlet.py (modified) (2 diffs)
- CPS3/products/CPSPortlets/trunk/doc/cpsportlets-cache.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
CPS3/products/CPSPortlets/trunk/CHANGES
r50190 r50208 4 4 New features 5 5 ~~~~~~~~~~~~ 6 - 6 - For #1788: if timeout is not specify in the tool's cache parameters, 7 it'll be read from the portlet 'cache_timeout' field. 7 8 Bug fixes 8 9 ~~~~~~~~~ CPS3/products/CPSPortlets/trunk/CPSPortlet.py
r49799 r50208 241 241 # set the cache timeout value based on cache paramaters 242 242 243 timeout = 0243 timeout = None 244 244 for param in cache_params: 245 245 if not param.startswith('timeout:'): … … 251 251 pass 252 252 253 if timeout is None: 254 return 253 255 if timeout >= 0 and self.cache_timeout != timeout: 254 256 self.cache_timeout = timeout CPS3/products/CPSPortlets/trunk/doc/cpsportlets-cache.txt
r49961 r50208 296 296 the content portlet 297 297 298 - cache_timeout 299 300 The timeout of the cache, expressed in seconds. 301 302 If this parameter is not specified, the value of the cache timeout 303 will be read from the corresponding portlet's field (defined in 304 schema portlet_common). 305 306 Otherwise, the specified value will supersede the value in the field for all 307 portlets of given type. 308 298 309 299 310 - no-cache:
