extend standard lifetime for macro cache to 1 day
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@4195 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
		
							parent
							
								
									27a731836f
								
							
						
					
					
						commit
						16eb14155a
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		|  | @ -1,5 +1,5 @@ | ||||||
| # | # | ||||||
| #  Copyright (c) 2009 Helmut Merz helmutm@cy55.de | #  Copyright (c) 2011 Helmut Merz helmutm@cy55.de | ||||||
| # | # | ||||||
| #  This program is free software; you can redistribute it and/or modify | #  This program is free software; you can redistribute it and/or modify | ||||||
| #  it under the terms of the GNU General Public License as published by | #  it under the terms of the GNU General Public License as published by | ||||||
|  | @ -39,7 +39,8 @@ rendererTemplate = ViewPageTemplateFile('renderer.pt') | ||||||
| 
 | 
 | ||||||
| class CachableRenderer(object): | class CachableRenderer(object): | ||||||
| 
 | 
 | ||||||
|     lifetime = 3 * 3600 |     #lifetime = 3 * 3600 | ||||||
|  |     lifetime = 24 * 3600 | ||||||
| 
 | 
 | ||||||
|     def __init__(self, view, renderer): |     def __init__(self, view, renderer): | ||||||
|         self.view = view |         self.view = view | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 helmutm
						helmutm