comparison production.ini @ 609:c1c1cf772337

moved out sqlalchemy cache from meta to the config files. added caching query for permissions.
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 12 Oct 2010 16:39:53 +0200
parents f99075170eb4
children 79457e03ef68
comparison
equal deleted inserted replaced
608:101e07f82f22 609:c1c1cf772337
1 ################################################################################ 1 ################################################################################
2 ################################################################################ 2 ################################################################################
3 # rhodecode - Pylons environment configuration # 3 # rhodecode - Pylons environment configuration #
4 # # 4 # #
5 # The %(here)s variable will be replaced with the parent directory of this file# 5 # The %(here)s variable will be replaced with the parent directory of this file#
6 ################################################################################ 6 ################################################################################
7 7
8 [DEFAULT] 8 [DEFAULT]
9 debug = true 9 debug = true
10 ################################################################################ 10 ################################################################################
11 ## Uncomment and replace with the address which should receive ## 11 ## Uncomment and replace with the address which should receive ##
12 ## any error reports after application crash ## 12 ## any error reports after application crash ##
13 ## Additionally those settings will be used by rhodecode mailing system ## 13 ## Additionally those settings will be used by rhodecode mailing system ##
14 ################################################################################ 14 ################################################################################
15 #email_to = admin@localhost 15 #email_to = admin@localhost
16 #error_email_from = paste_error@localhost 16 #error_email_from = paste_error@localhost
17 #app_email_from = rhodecode-noreply@localhost 17 #app_email_from = rhodecode-noreply@localhost
18 #error_message = 18 #error_message =
47 #################################### 47 ####################################
48 ### BEAKER CACHE #### 48 ### BEAKER CACHE ####
49 #################################### 49 ####################################
50 beaker.cache.data_dir=/%(here)s/data/cache/data 50 beaker.cache.data_dir=/%(here)s/data/cache/data
51 beaker.cache.lock_dir=/%(here)s/data/cache/lock 51 beaker.cache.lock_dir=/%(here)s/data/cache/lock
52 beaker.cache.regions=super_short_term,short_term,long_term 52 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
53 beaker.cache.long_term.type=memory 53 beaker.cache.long_term.type=memory
54 beaker.cache.long_term.expire=36000 54 beaker.cache.long_term.expire=36000
55
55 beaker.cache.short_term.type=memory 56 beaker.cache.short_term.type=memory
56 beaker.cache.short_term.expire=60 57 beaker.cache.short_term.expire=60
58
57 beaker.cache.super_short_term.type=memory 59 beaker.cache.super_short_term.type=memory
58 beaker.cache.super_short_term.expire=10 60 beaker.cache.super_short_term.expire=10
61
62 beaker.cache.sql_cache_short.type=memory
63 beaker.cache.sql_cache_short.expire=5
64
65 beaker.cache.sql_cache_med.type=memory
66 beaker.cache.sql_cache_med.expire=360
67
68 beaker.cache.sql_cache_long.type=file
69 beaker.cache.sql_cache_long.expire=3600
59 70
60 #################################### 71 ####################################
61 ### BEAKER SESSION #### 72 ### BEAKER SESSION ####
62 #################################### 73 ####################################
63 ## Type of storage used for the session, current types are 74 ## Type of storage used for the session, current types are