##// END OF EJS Templates
config: updated docstrings in .ini files
marcink -
r2997:7055da7c default
parent child Browse files
Show More
@@ -45,10 +45,9 b' debug = true'
45 45 host = 127.0.0.1
46 46 port = 5000
47 47
48 ##################################
49 ## WAITRESS WSGI SERVER ##
50 ## Recommended for Development ##
51 ##################################
48 ###########################################################
49 ## WAITRESS WSGI SERVER - Recommended for Development ####
50 ###########################################################
52 51
53 52 use = egg:waitress#main
54 53 ## number of worker threads
@@ -66,15 +65,15 b' asyncore_use_poll = true'
66 65 ## run with gunicorn --log-config rhodecode.ini --paste rhodecode.ini
67 66
68 67 #use = egg:gunicorn#main
69 ## Sets the number of process workers. You must set `instance_id = *`
70 ## when this option is set to more than one worker, recommended
71 ## value is (2 * NUMBER_OF_CPUS + 1), eg 2CPU = 5 workers
72 ## The `instance_id = *` must be set in the [app:main] section below
68 ## Sets the number of process workers. More workers means more concurent connections
69 ## RhodeCode can handle at the same time. Each additional worker also it increases
70 ## memory usage as each has it's own set of caches.
71 ## Recommended value is (2 * NUMBER_OF_CPUS + 1), eg 2CPU = 5 workers, but no more
72 ## than 8-10 unless for really big deployments .e.g 700-1000 users.
73 ## `instance_id = *` must be set in the [app:main] section below (which is the default)
74 ## when using more than 1 worker.
73 75 #workers = 2
74 ## number of threads for each of the worker, must be set to 1 for gevent
75 ## generally recommended to be at 1
76 #threads = 1
77 ## process name
76 ## process name visible in process list
78 77 #proc_name = rhodecode
79 78 ## type of worker class, one of sync, gevent
80 79 ## recommended for bigger setup is using of of other than sync one
@@ -152,12 +151,12 b' gzip_responses = false'
152 151 ## autogenerate javascript routes file on startup
153 152 generate_js_files = false
154 153
155 ## Optional Languages
156 ## en(default), be, de, es, fr, it, ja, pl, pt, ru, zh
154 ## System global default language.
155 ## All available languages: en(default), be, de, es, fr, it, ja, pl, pt, ru, zh
157 156 lang = en
158 157
159 ## perform a full repository scan on each server start, this should be
160 ## set to false after first startup, to allow faster server restarts.
158 ## Perform a full repository scan and import on each server start.
159 ## Settings this to true could lead to very long startup time.
161 160 startup.import_repos = false
162 161
163 162 ## Uncomment and set this path to use archive download cache.
@@ -171,23 +170,23 b' startup.import_repos = false'
171 170 ## SSH calls. Set this for events to receive proper url for SSH calls.
172 171 app.base_url = http://rhodecode.local
173 172
174 ## change this to unique ID for security
173 ## Unique application ID. Should be a random unique string for security.
175 174 app_instance_uuid = rc-production
176 175
177 ## cut off limit for large diffs (size in bytes). If overall diff size on
176 ## Cut off limit for large diffs (size in bytes). If overall diff size on
178 177 ## commit, or pull request exceeds this limit this diff will be displayed
179 178 ## partially. E.g 512000 == 512Kb
180 179 cut_off_limit_diff = 512000
181 180
182 ## cut off limit for large files inside diffs (size in bytes). Each individual
181 ## Cut off limit for large files inside diffs (size in bytes). Each individual
183 182 ## file inside diff which exceeds this limit will be displayed partially.
184 183 ## E.g 128000 == 128Kb
185 184 cut_off_limit_file = 128000
186 185
187 ## use cache version of scm repo everywhere
186 ## use cached version of vcs repositories everywhere. Recommended to be `true`
188 187 vcs_full_cache = true
189 188
190 ## force https in RhodeCode, fixes https redirects, assumes it's always https
189 ## Force https in RhodeCode, fixes https redirects, assumes it's always https.
191 190 ## Normally this is controlled by proper http flags sent from http server
192 191 force_https = false
193 192
@@ -234,7 +233,7 b' gist_alias_url ='
234 233 # GistView:*
235 234 api_access_controllers_whitelist =
236 235
237 ## default encoding used to convert from and to unicode
236 ## Default encoding used to convert from and to unicode
238 237 ## can be also a comma separated list of encoding in case of mixed encodings
239 238 default_encoding = UTF-8
240 239
@@ -281,8 +280,8 b' allow_repo_location_change = true'
281 280 ## allows to setup custom hooks in settings page
282 281 allow_custom_hooks_settings = true
283 282
284 ## generated license token, goto license page in RhodeCode settings to obtain
285 ## new token
283 ## Generated license token required for EE edition license.
284 ## New generated token value can be found in Admin > settings > license page.
286 285 license_token =
287 286
288 287 ## supervisor connection uri, for managing supervisor and logs.
@@ -45,10 +45,9 b' debug = true'
45 45 host = 127.0.0.1
46 46 port = 5000
47 47
48 ##################################
49 ## WAITRESS WSGI SERVER ##
50 ## Recommended for Development ##
51 ##################################
48 ###########################################################
49 ## WAITRESS WSGI SERVER - Recommended for Development ####
50 ###########################################################
52 51
53 52 #use = egg:waitress#main
54 53 ## number of worker threads
@@ -66,15 +65,15 b' port = 5000'
66 65 ## run with gunicorn --log-config rhodecode.ini --paste rhodecode.ini
67 66
68 67 use = egg:gunicorn#main
69 ## Sets the number of process workers. You must set `instance_id = *`
70 ## when this option is set to more than one worker, recommended
71 ## value is (2 * NUMBER_OF_CPUS + 1), eg 2CPU = 5 workers
72 ## The `instance_id = *` must be set in the [app:main] section below
68 ## Sets the number of process workers. More workers means more concurent connections
69 ## RhodeCode can handle at the same time. Each additional worker also it increases
70 ## memory usage as each has it's own set of caches.
71 ## Recommended value is (2 * NUMBER_OF_CPUS + 1), eg 2CPU = 5 workers, but no more
72 ## than 8-10 unless for really big deployments .e.g 700-1000 users.
73 ## `instance_id = *` must be set in the [app:main] section below (which is the default)
74 ## when using more than 1 worker.
73 75 workers = 2
74 ## number of threads for each of the worker, must be set to 1 for gevent
75 ## generally recommended to be at 1
76 #threads = 1
77 ## process name
76 ## process name visible in process list
78 77 proc_name = rhodecode
79 78 ## type of worker class, one of sync, gevent
80 79 ## recommended for bigger setup is using of of other than sync one
@@ -127,12 +126,12 b' gzip_responses = false'
127 126 ## autogenerate javascript routes file on startup
128 127 generate_js_files = false
129 128
130 ## Optional Languages
131 ## en(default), be, de, es, fr, it, ja, pl, pt, ru, zh
129 ## System global default language.
130 ## All available languages: en(default), be, de, es, fr, it, ja, pl, pt, ru, zh
132 131 lang = en
133 132
134 ## perform a full repository scan on each server start, this should be
135 ## set to false after first startup, to allow faster server restarts.
133 ## Perform a full repository scan and import on each server start.
134 ## Settings this to true could lead to very long startup time.
136 135 startup.import_repos = false
137 136
138 137 ## Uncomment and set this path to use archive download cache.
@@ -146,23 +145,23 b' startup.import_repos = false'
146 145 ## SSH calls. Set this for events to receive proper url for SSH calls.
147 146 app.base_url = http://rhodecode.local
148 147
149 ## change this to unique ID for security
148 ## Unique application ID. Should be a random unique string for security.
150 149 app_instance_uuid = rc-production
151 150
152 ## cut off limit for large diffs (size in bytes). If overall diff size on
151 ## Cut off limit for large diffs (size in bytes). If overall diff size on
153 152 ## commit, or pull request exceeds this limit this diff will be displayed
154 153 ## partially. E.g 512000 == 512Kb
155 154 cut_off_limit_diff = 512000
156 155
157 ## cut off limit for large files inside diffs (size in bytes). Each individual
156 ## Cut off limit for large files inside diffs (size in bytes). Each individual
158 157 ## file inside diff which exceeds this limit will be displayed partially.
159 158 ## E.g 128000 == 128Kb
160 159 cut_off_limit_file = 128000
161 160
162 ## use cache version of scm repo everywhere
161 ## use cached version of vcs repositories everywhere. Recommended to be `true`
163 162 vcs_full_cache = true
164 163
165 ## force https in RhodeCode, fixes https redirects, assumes it's always https
164 ## Force https in RhodeCode, fixes https redirects, assumes it's always https.
166 165 ## Normally this is controlled by proper http flags sent from http server
167 166 force_https = false
168 167
@@ -209,7 +208,7 b' gist_alias_url ='
209 208 # GistView:*
210 209 api_access_controllers_whitelist =
211 210
212 ## default encoding used to convert from and to unicode
211 ## Default encoding used to convert from and to unicode
213 212 ## can be also a comma separated list of encoding in case of mixed encodings
214 213 default_encoding = UTF-8
215 214
@@ -256,8 +255,8 b' allow_repo_location_change = true'
256 255 ## allows to setup custom hooks in settings page
257 256 allow_custom_hooks_settings = true
258 257
259 ## generated license token, goto license page in RhodeCode settings to obtain
260 ## new token
258 ## Generated license token required for EE edition license.
259 ## New generated token value can be found in Admin > settings > license page.
261 260 license_token =
262 261
263 262 ## supervisor connection uri, for managing supervisor and logs.
General Comments 0
You need to be logged in to leave comments. Login now