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 |
@@ -133,18 +133,23 b' beaker.cache.sql_cache_long.key_length =' | |||
|
133 | 133 | ## The storage uses the Container API |
|
134 | 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() |
@@ -133,18 +133,23 b' beaker.cache.sql_cache_long.key_length =' | |||
|
133 | 133 | ## The storage uses the Container API |
|
134 | 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() |
@@ -133,18 +133,23 b' beaker.cache.sql_cache_long.key_length =' | |||
|
133 | 133 | ## The storage uses the Container API |
|
134 | 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