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