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