Mercurial > kallithea
comparison development.ini @ 3960:5293d4bbb1ea
Merged dev into stable/default/master branch
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 07 Jun 2013 00:31:11 +0200 |
parents | 3563bb7b4b82 535be0731523 |
children | 60900e877b31 |
comparison
equal
deleted
inserted
replaced
3879:51596d9ef2f8 | 3960:5293d4bbb1ea |
---|---|
27 #smtp_use_ssl = true | 27 #smtp_use_ssl = true |
28 ## Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.) | 28 ## Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.) |
29 #smtp_auth = | 29 #smtp_auth = |
30 | 30 |
31 [server:main] | 31 [server:main] |
32 ## PASTE | 32 ## PASTE ## |
33 ## nr of threads to spawn | 33 #use = egg:Paste#http |
34 ## nr of worker threads to spawn | |
34 #threadpool_workers = 5 | 35 #threadpool_workers = 5 |
35 | |
36 ## max request before thread respawn | 36 ## max request before thread respawn |
37 #threadpool_max_requests = 10 | 37 #threadpool_max_requests = 10 |
38 | |
39 ## option to use threads of process | 38 ## option to use threads of process |
40 #use_threadpool = true | 39 #use_threadpool = true |
41 | 40 |
42 #use = egg:Paste#http | 41 ## WAITRESS ## |
43 | 42 use = egg:waitress#main |
44 ## WAITRESS | 43 ## number of worker threads |
45 threads = 5 | 44 threads = 5 |
46 ## 100GB | 45 ## MAX BODY SIZE 100GB |
47 max_request_body_size = 107374182400 | 46 max_request_body_size = 107374182400 |
48 use = egg:waitress#main | 47 ## use poll instead of select, fixes fd limits, may not work on old |
49 | 48 ## windows systems. |
49 #asyncore_use_poll = True | |
50 | |
51 ## GUNICORN ## | |
52 #use = egg:gunicorn#main | |
53 ## number of process workers. You must set `instance_id = *` when this option | |
54 ## is set to more than one worker | |
55 #workers = 1 | |
56 ## process name | |
57 #proc_name = rhodecode | |
58 ## type of worker class, one of sync, eventlet, gevent, tornado | |
59 ## recommended for bigger setup is using of of other than sync one | |
60 #worker_class = sync | |
61 #max_requests = 5 | |
62 | |
63 ## COMMON ## | |
50 host = 0.0.0.0 | 64 host = 0.0.0.0 |
51 port = 5000 | 65 port = 5000 |
52 | 66 |
53 ## prefix middleware for rc | 67 ## prefix middleware for rc |
54 #[filter:proxy-prefix] | 68 #[filter:proxy-prefix] |
66 ## en, fr, ja, pt_BR, zh_CN, zh_TW, pl | 80 ## en, fr, ja, pt_BR, zh_CN, zh_TW, pl |
67 lang = en | 81 lang = en |
68 cache_dir = %(here)s/data | 82 cache_dir = %(here)s/data |
69 index_dir = %(here)s/data/index | 83 index_dir = %(here)s/data/index |
70 | 84 |
85 ## perform a full repository scan on each server start, this should be | |
86 ## set to false after first startup, to allow faster server restarts. | |
87 initial_repo_scan = true | |
88 | |
71 ## uncomment and set this path to use archive download cache | 89 ## uncomment and set this path to use archive download cache |
72 #archive_cache_dir = /tmp/tarballcache | 90 #archive_cache_dir = /tmp/tarballcache |
73 | 91 |
74 ## change this to unique ID for security | 92 ## change this to unique ID for security |
75 app_instance_uuid = rc-production | 93 app_instance_uuid = rc-production |
86 ## use Strict-Transport-Security headers | 104 ## use Strict-Transport-Security headers |
87 use_htsts = false | 105 use_htsts = false |
88 | 106 |
89 ## number of commits stats will parse on each iteration | 107 ## number of commits stats will parse on each iteration |
90 commit_parse_limit = 25 | 108 commit_parse_limit = 25 |
91 | |
92 ## number of items displayed in lightweight dashboard before paginating is shown | |
93 dashboard_items = 100 | |
94 | 109 |
95 ## use gravatar service to display avatars | 110 ## use gravatar service to display avatars |
96 use_gravatar = true | 111 use_gravatar = true |
97 | 112 |
98 ## path to git executable | 113 ## path to git executable |
109 | 124 |
110 ## options for showing and identifying changesets | 125 ## options for showing and identifying changesets |
111 show_sha_length = 12 | 126 show_sha_length = 12 |
112 show_revision_number = true | 127 show_revision_number = true |
113 | 128 |
129 ## gist URL alias, used to create nicer urls for gist. This should be an | |
130 ## url that does rewrites to _admin/gists/<gistid>. | |
131 ## example: http://gist.rhodecode.org/{gistid}. Empty means use the internal | |
132 ## RhodeCode url, ie. http[s]://rhodecode.server/_admin/gists/<gistid> | |
133 gist_alias_url = | |
134 | |
135 ## white list of API enabled controllers. This allows to add list of | |
136 ## controllers to which access will be enabled by api_key. eg: to enable | |
137 ## api access to raw_files put `FilesController:raw`, to enable access to patches | |
138 ## add `ChangesetController:changeset_patch`. This list should be "," separated | |
139 ## Syntax is <ControllerClass>:<function>. Check debug logs for generated names | |
140 api_access_controllers_whitelist = | |
114 | 141 |
115 ## alternative_gravatar_url allows you to use your own avatar server application | 142 ## alternative_gravatar_url allows you to use your own avatar server application |
116 ## the following parts of the URL will be replaced | 143 ## the following parts of the URL will be replaced |
117 ## {email} user email | 144 ## {email} user email |
118 ## {md5email} md5 hash of the user email (like at gravatar.com) | 145 ## {md5email} md5 hash of the user email (like at gravatar.com) |
184 | 211 |
185 ## locking return code. When repository is locked return this HTTP code. 2XX | 212 ## locking return code. When repository is locked return this HTTP code. 2XX |
186 ## codes don't break the transactions while 4XX codes do | 213 ## codes don't break the transactions while 4XX codes do |
187 lock_ret_code = 423 | 214 lock_ret_code = 423 |
188 | 215 |
216 allow_repo_location_change = True | |
189 | 217 |
190 #################################### | 218 #################################### |
191 ### CELERY CONFIG #### | 219 ### CELERY CONFIG #### |
192 #################################### | 220 #################################### |
193 use_celery = false | 221 use_celery = false |