##// END OF EJS Templates
fix(tests): fixed bad value for default binary_dir value
super-admin -
r5332:90d0c6c0 default
parent child Browse files
Show More
@@ -1,138 +1,138 b''
1 1 #
2 2
3 3 ; #################################
4 4 ; RHODECODE VCSSERVER CONFIGURATION
5 5 ; #################################
6 6
7 7 [server:main]
8 8 ; COMMON HOST/IP CONFIG
9 9 host = 127.0.0.1
10 10 port = 9900
11 11
12 12
13 13 ; ###########################
14 14 ; GUNICORN APPLICATION SERVER
15 15 ; ###########################
16 16
17 17 ; run with gunicorn --log-config rhodecode.ini --paste rhodecode.ini
18 18
19 19 ; Module to use, this setting shouldn't be changed
20 20 use = egg:gunicorn#main
21 21
22 22 [app:main]
23 23 ; The %(here)s variable will be replaced with the absolute path of parent directory
24 24 ; of this file
25 25 use = egg:rhodecode-vcsserver
26 26
27 27 ; Pyramid default locales, we need this to be set
28 28 pyramid.default_locale_name = en
29 29
30 30 ; default locale used by VCS systems
31 31 locale = en_US.UTF-8
32 32
33 33 ; path to binaries for vcsserver, it should be set by the installer
34 34 ; at installation time, e.g /home/user/vcsserver-1/profile/bin
35 35 ; it can also be a path to nix-build output in case of development
36 core.binary_dir = ""
36 core.binary_dir =
37 37
38 38 ; Custom exception store path, defaults to TMPDIR
39 39 ; This is used to store exception from RhodeCode in shared directory
40 40 #exception_tracker.store_path =
41 41
42 42 ; #############
43 43 ; DOGPILE CACHE
44 44 ; #############
45 45
46 46 ; Default cache dir for caches. Putting this into a ramdisk can boost performance.
47 47 ; eg. /tmpfs/data_ramdisk, however this directory might require large amount of space
48 48 cache_dir = %(here)s/data
49 49
50 50 ; ***************************************
51 51 ; `repo_object` cache, default file based
52 52 ; ***************************************
53 53
54 54 ; `repo_object` cache settings for vcs methods for repositories
55 55 rc_cache.repo_object.backend = dogpile.cache.rc.memory_lru
56 56
57 57 ; cache auto-expires after N seconds
58 58 ; Examples: 86400 (1Day), 604800 (7Days), 1209600 (14Days), 2592000 (30days), 7776000 (90Days)
59 59 rc_cache.repo_object.expiration_time = 2592000
60 60
61 61 ; file cache store path. Defaults to `cache_dir =` value or tempdir if both values are not set
62 62 #rc_cache.repo_object.arguments.filename = /tmp/vcsserver_cache.db
63 63
64 64 ; ***********************************************************
65 65 ; `repo_object` cache with redis backend
66 66 ; recommended for larger instance, and for better performance
67 67 ; ***********************************************************
68 68
69 69 ; `repo_object` cache settings for vcs methods for repositories
70 70 #rc_cache.repo_object.backend = dogpile.cache.rc.redis_msgpack
71 71
72 72 ; cache auto-expires after N seconds
73 73 ; Examples: 86400 (1Day), 604800 (7Days), 1209600 (14Days), 2592000 (30days), 7776000 (90Days)
74 74 #rc_cache.repo_object.expiration_time = 2592000
75 75
76 76 ; redis_expiration_time needs to be greater then expiration_time
77 77 #rc_cache.repo_object.arguments.redis_expiration_time = 3592000
78 78
79 79 #rc_cache.repo_object.arguments.host = localhost
80 80 #rc_cache.repo_object.arguments.port = 6379
81 81 #rc_cache.repo_object.arguments.db = 5
82 82 #rc_cache.repo_object.arguments.socket_timeout = 30
83 83 ; more Redis options: https://dogpilecache.sqlalchemy.org/en/latest/api.html#redis-backends
84 84 #rc_cache.repo_object.arguments.distributed_lock = true
85 85
86 86 # legacy cache regions, please don't change
87 87 beaker.cache.regions = repo_object
88 88 beaker.cache.repo_object.type = memorylru
89 89 beaker.cache.repo_object.max_items = 100
90 90 # cache auto-expires after N seconds
91 91 beaker.cache.repo_object.expire = 300
92 92 beaker.cache.repo_object.enabled = true
93 93
94 94
95 95
96 96 ; #####################
97 97 ; LOGGING CONFIGURATION
98 98 ; #####################
99 99 [loggers]
100 100 keys = root, vcsserver
101 101
102 102 [handlers]
103 103 keys = console
104 104
105 105 [formatters]
106 106 keys = generic
107 107
108 108 ; #######
109 109 ; LOGGERS
110 110 ; #######
111 111 [logger_root]
112 112 level = NOTSET
113 113 handlers = console
114 114
115 115 [logger_vcsserver]
116 116 level = DEBUG
117 117 handlers =
118 118 qualname = vcsserver
119 119 propagate = 1
120 120
121 121
122 122 ; ########
123 123 ; HANDLERS
124 124 ; ########
125 125
126 126 [handler_console]
127 127 class = StreamHandler
128 128 args = (sys.stderr, )
129 129 level = DEBUG
130 130 formatter = generic
131 131
132 132 ; ##########
133 133 ; FORMATTERS
134 134 ; ##########
135 135
136 136 [formatter_generic]
137 137 format = %(asctime)s.%(msecs)03d [%(process)d] %(levelname)-5.5s [%(name)s] %(message)s
138 138 datefmt = %Y-%m-%d %H:%M:%S
General Comments 0
You need to be logged in to leave comments. Login now