4053877b958d3a807056350c3a6052972c30c3f0
[ta/caas-registry.git] / ansible / roles / swift / templates / main / object-server.conf
1 {#
2 Copyright 2019 Nokia
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8     http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 #}
16 [DEFAULT]
17 bind_ip = {{ ansible_host }}
18 bind_port = 6000
19 workers = 4 
20 ionice_class = IOPRIO_CLASS_RT
21 ionice_priority = 0 
22
23 [pipeline:main]
24 pipeline = recon object-server
25
26 [app:object-server]
27 use = egg:swift#object
28
29 [object-replicator]
30 interval = 60
31
32 [object-updater]
33
34 [object-auditor]
35 files_per_second = 2
36 bytes_per_second = 1048576
37 zero_byte_files_per_second = 2
38
39 [filter:recon]
40 use = egg:swift#recon
41 recon_cache_path = /var/cache/swift
42 object_recon = true