comparison development.ini @ 343:6484963056cd

implemented cache for repeated queries in simplehg mercurial requests
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 14 Jul 2010 12:31:11 +0200
parents c71dc6ef36e6
children 28f19fa562df
comparison
equal deleted inserted replaced
342:c71dc6ef36e6 343:6484963056cd
42 #################################### 42 ####################################
43 ### BEAKER CACHE #### 43 ### BEAKER CACHE ####
44 #################################### 44 ####################################
45 beaker.cache.data_dir=/%(here)s/data/cache/data 45 beaker.cache.data_dir=/%(here)s/data/cache/data
46 beaker.cache.lock_dir=/%(here)s/data/cache/lock 46 beaker.cache.lock_dir=/%(here)s/data/cache/lock
47 beaker.cache.regions=short_term,long_term 47 beaker.cache.regions=super_short_term,short_term,long_term
48 beaker.cache.long_term.type=memory 48 beaker.cache.long_term.type=memory
49 beaker.cache.long_term.expire=36000 49 beaker.cache.long_term.expire=36000
50 beaker.cache.short_term.type=memory 50 beaker.cache.short_term.type=memory
51 beaker.cache.short_term.expire=60 51 beaker.cache.short_term.expire=60
52 beaker.cache.super_short_term.type=memory
53 beaker.cache.super_short_term.expire=10
52 54
53 ################################################################################ 55 ################################################################################
54 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ## 56 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
55 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ## 57 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
56 ## execute malicious code after an exception is raised. ## 58 ## execute malicious code after an exception is raised. ##