Show More
@@ -98,11 +98,6 b' i18n.lang =' | |||
|
98 | 98 | cache_dir = %(here)s/data |
|
99 | 99 | index_dir = %(here)s/data/index |
|
100 | 100 | |
|
101 | ## perform a full repository scan on each server start, this should be | |
|
102 | ## set to false after first startup, to allow faster server restarts. | |
|
103 | #initial_repo_scan = false | |
|
104 | initial_repo_scan = true | |
|
105 | ||
|
106 | 101 | ## uncomment and set this path to use archive download cache |
|
107 | 102 | archive_cache_dir = %(here)s/tarballcache |
|
108 | 103 |
@@ -171,10 +171,6 b' def setup_configuration(app):' | |||
|
171 | 171 | |
|
172 | 172 | check_git_version() |
|
173 | 173 | |
|
174 | if str2bool(config.get('initial_repo_scan', True)): | |
|
175 | repo2db_mapper(ScmModel().repo_scan(repos_path), | |
|
176 | remove_obsolete=False, install_git_hooks=False) | |
|
177 | ||
|
178 | 174 | |
|
179 | 175 | hooks.register('configure_new_app', setup_configuration) |
|
180 | 176 |
@@ -193,10 +193,6 b' i18n.lang =' | |||
|
193 | 193 | cache_dir = %(here)s/data |
|
194 | 194 | index_dir = %(here)s/data/index |
|
195 | 195 | |
|
196 | <%text>## perform a full repository scan on each server start, this should be</%text> | |
|
197 | <%text>## set to false after first startup, to allow faster server restarts.</%text> | |
|
198 | initial_repo_scan = false | |
|
199 | ||
|
200 | 196 | <%text>## uncomment and set this path to use archive download cache</%text> |
|
201 | 197 | archive_cache_dir = %(here)s/tarballcache |
|
202 | 198 |
General Comments 0
You need to be logged in to leave comments.
Login now