Show More
@@ -33,7 +33,7 b' pdebug = false' | |||
|
33 | 33 | threadpool_workers = 5 |
|
34 | 34 | |
|
35 | 35 | ##max request before thread respawn |
|
36 |
threadpool_max_requests = |
|
|
36 | threadpool_max_requests = 10 | |
|
37 | 37 | |
|
38 | 38 | ##option to use threads of process |
|
39 | 39 | use_threadpool = true |
@@ -131,20 +131,25 b' beaker.cache.sql_cache_long.key_length =' | |||
|
131 | 131 | ## Type of storage used for the session, current types are |
|
132 | 132 | ## dbm, file, memcached, database, and memory. |
|
133 | 133 | ## The storage uses the Container API |
|
134 | ##that is also used by the cache system. | |
|
134 | ## that is also used by the cache system. | |
|
135 | 135 | |
|
136 | #db session example | |
|
136 | ## db session example | |
|
137 | ||
|
137 | 138 | #beaker.session.type = ext:database |
|
138 | 139 | #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode |
|
139 | 140 | #beaker.session.table_name = db_session |
|
140 | 141 | |
|
141 | beaker.session.type = cookie | |
|
142 | ## encrypted cookie session, good for many instances | |
|
143 | #beaker.session.type = cookie | |
|
144 | ||
|
145 | beaker.session.type = file | |
|
142 | 146 | beaker.session.key = rhodecode |
|
143 | 147 | beaker.session.encrypt_key = g654dcno0-9873jhgfreyu |
|
144 | 148 | beaker.session.validate_key = 9712sds2212c--zxc123 |
|
145 | 149 | beaker.session.timeout = 36000 |
|
146 | 150 | beaker.session.httponly = true |
|
147 | # uncomment for https secure cookie | |
|
151 | ||
|
152 | ## uncomment for https secure cookie | |
|
148 | 153 | beaker.session.secure = false |
|
149 | 154 | |
|
150 | 155 | ##auto save the session to not to use .save() |
@@ -131,20 +131,25 b' beaker.cache.sql_cache_long.key_length =' | |||
|
131 | 131 | ## Type of storage used for the session, current types are |
|
132 | 132 | ## dbm, file, memcached, database, and memory. |
|
133 | 133 | ## The storage uses the Container API |
|
134 | ##that is also used by the cache system. | |
|
134 | ## that is also used by the cache system. | |
|
135 | 135 | |
|
136 | #db session example | |
|
136 | ## db session example | |
|
137 | ||
|
137 | 138 | #beaker.session.type = ext:database |
|
138 | 139 | #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode |
|
139 | 140 | #beaker.session.table_name = db_session |
|
140 | 141 | |
|
141 | beaker.session.type = cookie | |
|
142 | ## encrypted cookie session, good for many instances | |
|
143 | #beaker.session.type = cookie | |
|
144 | ||
|
145 | beaker.session.type = file | |
|
142 | 146 | beaker.session.key = rhodecode |
|
143 | 147 | beaker.session.encrypt_key = g654dcno0-9873jhgfreyu |
|
144 | 148 | beaker.session.validate_key = 9712sds2212c--zxc123 |
|
145 | 149 | beaker.session.timeout = 36000 |
|
146 | 150 | beaker.session.httponly = true |
|
147 | # uncomment for https secure cookie | |
|
151 | ||
|
152 | ## uncomment for https secure cookie | |
|
148 | 153 | beaker.session.secure = false |
|
149 | 154 | |
|
150 | 155 | ##auto save the session to not to use .save() |
@@ -153,7 +158,7 b' beaker.session.auto = False' | |||
|
153 | 158 | ##true exire at browser close |
|
154 | 159 | #beaker.session.cookie_expires = 3600 |
|
155 | 160 | |
|
156 | ||
|
161 | ||
|
157 | 162 | ################################################################################ |
|
158 | 163 | ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ## |
|
159 | 164 | ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ## |
@@ -131,20 +131,25 b' beaker.cache.sql_cache_long.key_length =' | |||
|
131 | 131 | ## Type of storage used for the session, current types are |
|
132 | 132 | ## dbm, file, memcached, database, and memory. |
|
133 | 133 | ## The storage uses the Container API |
|
134 | ##that is also used by the cache system. | |
|
134 | ## that is also used by the cache system. | |
|
135 | 135 | |
|
136 | #db session example | |
|
136 | ## db session example | |
|
137 | ||
|
137 | 138 | #beaker.session.type = ext:database |
|
138 | 139 | #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode |
|
139 | 140 | #beaker.session.table_name = db_session |
|
140 | 141 | |
|
141 | beaker.session.type = cookie | |
|
142 | ## encrypted cookie session, good for many instances | |
|
143 | #beaker.session.type = cookie | |
|
144 | ||
|
145 | beaker.session.type = file | |
|
142 | 146 | beaker.session.key = rhodecode |
|
143 | 147 | beaker.session.encrypt_key = ${app_instance_secret} |
|
144 | 148 | beaker.session.validate_key = ${app_instance_secret} |
|
145 | 149 | beaker.session.timeout = 36000 |
|
146 | 150 | beaker.session.httponly = true |
|
147 | # uncomment for https secure cookie | |
|
151 | ||
|
152 | ## uncomment for https secure cookie | |
|
148 | 153 | beaker.session.secure = false |
|
149 | 154 | |
|
150 | 155 | ##auto save the session to not to use .save() |
General Comments 0
You need to be logged in to leave comments.
Login now