Show More
@@ -314,7 +314,7 b' celery.task_always_eager = false' | |||||
314 | ## Default cache dir for caches. Putting this into a ramdisk |
|
314 | ## Default cache dir for caches. Putting this into a ramdisk | |
315 | ## can boost performance, eg. /tmpfs/data_ramdisk, however this directory might require |
|
315 | ## can boost performance, eg. /tmpfs/data_ramdisk, however this directory might require | |
316 | ## large ammount of space |
|
316 | ## large ammount of space | |
317 |
cache_dir = |
|
317 | cache_dir = %(here)s/data | |
318 |
|
318 | |||
319 | ## `cache_perms` cache settings for permission tree, auth TTL. |
|
319 | ## `cache_perms` cache settings for permission tree, auth TTL. | |
320 | rc_cache.cache_perms.backend = dogpile.cache.rc.file_namespace |
|
320 | rc_cache.cache_perms.backend = dogpile.cache.rc.file_namespace | |
@@ -355,8 +355,8 b' rc_cache.sql_cache_short.expiration_time' | |||||
355 | rc_cache.cache_repo_longterm.backend = dogpile.cache.rc.memory_lru |
|
355 | rc_cache.cache_repo_longterm.backend = dogpile.cache.rc.memory_lru | |
356 | # by default we use 96H, this is using invalidation on push anyway |
|
356 | # by default we use 96H, this is using invalidation on push anyway | |
357 | rc_cache.cache_repo_longterm.expiration_time = 345600 |
|
357 | rc_cache.cache_repo_longterm.expiration_time = 345600 | |
358 | # max items in LRU cache, reduce this number to save memory, and expire last used |
|
358 | ## max items in LRU cache, reduce this number to save memory, and expire last used | |
359 | # cached objects |
|
359 | ## cached objects | |
360 | rc_cache.cache_repo_longterm.max_size = 10000 |
|
360 | rc_cache.cache_repo_longterm.max_size = 10000 | |
361 |
|
361 | |||
362 |
|
362 | |||
@@ -728,5 +728,5 b' datefmt = %Y-%m-%d %H:%M:%S' | |||||
728 |
|
728 | |||
729 | [formatter_color_formatter_sql] |
|
729 | [formatter_color_formatter_sql] | |
730 | class = rhodecode.lib.logging_formatter.ColorFormatterSql |
|
730 | class = rhodecode.lib.logging_formatter.ColorFormatterSql | |
731 | format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|
731 | format = %(asctime)s.%(msecs)03d [%(process)d] %(levelname)-5.5s [%(name)s] %(message)s | |
732 | datefmt = %Y-%m-%d %H:%M:%S |
|
732 | datefmt = %Y-%m-%d %H:%M:%S |
@@ -288,8 +288,8 b' celery.task_always_eager = false' | |||||
288 | ##################################### |
|
288 | ##################################### | |
289 | ## Default cache dir for caches. Putting this into a ramdisk |
|
289 | ## Default cache dir for caches. Putting this into a ramdisk | |
290 | ## can boost performance, eg. /tmpfs/data_ramdisk, however this directory might require |
|
290 | ## can boost performance, eg. /tmpfs/data_ramdisk, however this directory might require | |
291 |
## large am |
|
291 | ## large amount of space | |
292 |
cache_dir = |
|
292 | cache_dir = %(here)s/data | |
293 |
|
293 | |||
294 | ## `cache_perms` cache settings for permission tree, auth TTL. |
|
294 | ## `cache_perms` cache settings for permission tree, auth TTL. | |
295 | rc_cache.cache_perms.backend = dogpile.cache.rc.file_namespace |
|
295 | rc_cache.cache_perms.backend = dogpile.cache.rc.file_namespace | |
@@ -328,10 +328,10 b' rc_cache.sql_cache_short.expiration_time' | |||||
328 | ## `cache_repo_longterm` cache for repo object instances, this needs to use memory |
|
328 | ## `cache_repo_longterm` cache for repo object instances, this needs to use memory | |
329 | ## type backend as the objects kept are not pickle serializable |
|
329 | ## type backend as the objects kept are not pickle serializable | |
330 | rc_cache.cache_repo_longterm.backend = dogpile.cache.rc.memory_lru |
|
330 | rc_cache.cache_repo_longterm.backend = dogpile.cache.rc.memory_lru | |
331 | # by default we use 96H, this is using invalidation on push anyway |
|
331 | ## by default we use 96H, this is using invalidation on push anyway | |
332 | rc_cache.cache_repo_longterm.expiration_time = 345600 |
|
332 | rc_cache.cache_repo_longterm.expiration_time = 345600 | |
333 | # max items in LRU cache, reduce this number to save memory, and expire last used |
|
333 | ## max items in LRU cache, reduce this number to save memory, and expire last used | |
334 | # cached objects |
|
334 | ## cached objects | |
335 | rc_cache.cache_repo_longterm.max_size = 10000 |
|
335 | rc_cache.cache_repo_longterm.max_size = 10000 | |
336 |
|
336 | |||
337 |
|
337 | |||
@@ -524,7 +524,6 b' vcs.server.protocol = http' | |||||
524 |
|
524 | |||
525 | ## Push/Pull operations protocol, available options are: |
|
525 | ## Push/Pull operations protocol, available options are: | |
526 | ## `http` - use http-rpc backend (default) |
|
526 | ## `http` - use http-rpc backend (default) | |
527 | ## |
|
|||
528 | vcs.scm_app_implementation = http |
|
527 | vcs.scm_app_implementation = http | |
529 |
|
528 | |||
530 | ## Push/Pull operations hooks protocol, available options are: |
|
529 | ## Push/Pull operations hooks protocol, available options are: | |
@@ -535,7 +534,7 b' vcs.hooks.protocol = http' | |||||
535 | vcs.hooks.host = 127.0.0.1 |
|
534 | vcs.hooks.host = 127.0.0.1 | |
536 |
|
535 | |||
537 | vcs.server.log_level = info |
|
536 | vcs.server.log_level = info | |
538 |
## Start VCSServer with this instance as a subprocess, useful |
|
537 | ## Start VCSServer with this instance as a subprocess, useful for development | |
539 | vcs.start_server = false |
|
538 | vcs.start_server = false | |
540 |
|
539 | |||
541 | ## List of enabled VCS backends, available options are: |
|
540 | ## List of enabled VCS backends, available options are: | |
@@ -698,5 +697,5 b' datefmt = %Y-%m-%d %H:%M:%S' | |||||
698 |
|
697 | |||
699 | [formatter_color_formatter_sql] |
|
698 | [formatter_color_formatter_sql] | |
700 | class = rhodecode.lib.logging_formatter.ColorFormatterSql |
|
699 | class = rhodecode.lib.logging_formatter.ColorFormatterSql | |
701 | format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|
700 | format = %(asctime)s.%(msecs)03d [%(process)d] %(levelname)-5.5s [%(name)s] %(message)s | |
702 | datefmt = %Y-%m-%d %H:%M:%S |
|
701 | datefmt = %Y-%m-%d %H:%M:%S |
General Comments 0
You need to be logged in to leave comments.
Login now