Skip to content

Commit 9920aeb

Browse files
committed
bug 661267 adding config eastereggs, fixing defaults
Change-Id: I41356ee250c9088a2387b0d493586dd990a04ac3
1 parent e22ee45 commit 9920aeb

5 files changed

+17
-8
lines changed

etc/account-server.conf-sample

+4-7
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,14 @@ use = egg:swift#account
2626
# set log_facility = LOG_LOCAL0
2727
# set log_level = INFO
2828
# set log_requests = True
29+
# auto_create_account_prefix = .
2930

3031
[account-replicator]
3132
# You can override the default log routing for this app here (don't use set!):
3233
# log_name = account-replicator
3334
# log_facility = LOG_LOCAL0
3435
# log_level = INFO
3536
# vm_test_mode = no
36-
# log_facility = LOG_LOCAL0
37-
# log_level = INFO
3837
# per_diff = 1000
3938
# max_diffs = 100
4039
# concurrency = 8
@@ -47,7 +46,9 @@ use = egg:swift#account
4746
# node_timeout = 10
4847
# conn_timeout = 0.5
4948
# The replicator also performs reclamation
50-
# reclaim_age = 86400
49+
# reclaim_age = 604800
50+
# Time in seconds to wait between replication passes
51+
# run_pause = 30
5152

5253
[account-auditor]
5354
# You can override the default log routing for this app here (don't use set!):
@@ -56,8 +57,6 @@ use = egg:swift#account
5657
# log_level = INFO
5758
# Will audit, at most, 1 account per device per interval
5859
# interval = 1800
59-
# log_facility = LOG_LOCAL0
60-
# log_level = INFO
6160

6261
[account-reaper]
6362
# You can override the default log routing for this app here (don't use set!):
@@ -68,8 +67,6 @@ use = egg:swift#account
6867
# interval = 3600
6968
# node_timeout = 10
7069
# conn_timeout = 0.5
71-
# log_facility = LOG_LOCAL0
72-
# log_level = INFO
7370
# Normally, the reaper begins deleting account information for deleted accounts
7471
# immediately; you can set this to delay its work however. The value is in
7572
# seconds; 2592000 = 30 days for example.

etc/container-server.conf-sample

+4
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ use = egg:swift#container
3232
# node_timeout = 3
3333
# conn_timeout = 0.5
3434
# allow_versions = False
35+
# auto_create_account_prefix = .
3536

3637
[container-replicator]
3738
# You can override the default log routing for this app here (don't use set!):
@@ -47,6 +48,9 @@ use = egg:swift#container
4748
# conn_timeout = 0.5
4849
# The replicator also performs reclamation
4950
# reclaim_age = 604800
51+
# Time in seconds to wait between replication passes
52+
# run_pause = 30
53+
5054

5155
[container-updater]
5256
# You can override the default log routing for this app here (don't use set!):

etc/object-expirer.conf-sample

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
[object-expirer]
1010
# interval = 300
11+
# auto_create_account_prefix = .
12+
# report_interval = 300
1113

1214
[pipeline:main]
1315
pipeline = catch_errors cache proxy-server

etc/object-server.conf-sample

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,14 @@ use = egg:swift#object
2828
# network_chunk_size = 65536
2929
# disk_chunk_size = 65536
3030
# max_upload_time = 86400
31-
# slow = 1
31+
# slow = 0
3232
# on PUTs, sync data every n MB
3333
# mb_per_sync = 512
3434
# Comma separated list of headers that can be set in metadata on an object.
3535
# This list is in addition to X-Object-Meta-* headers and cannot include
3636
# Content-Type, etag, Content-Length, or deleted
3737
# allowed_headers = Content-Disposition, Content-Encoding, X-Delete-At, X-Object-Manifest
38+
# auto_create_account_prefix = .
3839

3940
[filter:recon]
4041
use = egg:swift#recon
@@ -63,6 +64,7 @@ recon_cache_path = /var/cache/swift
6364
# enable logging of replication stats for recon
6465
# recon_enable = no
6566
# recon_cache_path = /var/cache/swift
67+
# ring_check_interval = 15
6668

6769
[object-updater]
6870
# You can override the default log routing for this app here (don't use set!):

etc/proxy-server.conf-sample

+4
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ use = egg:swift#proxy
6060
# max_containers_whitelist =
6161
# comma separated list of Host headers the proxy will be deny requests to
6262
# deny_host_headers =
63+
# prefix used when automatically creating accounts
64+
# auto_create_account_prefix = .
65+
# depth of the proxy put queue
66+
# put_queue_depth = 10
6367

6468
[filter:tempauth]
6569
use = egg:swift#tempauth

0 commit comments

Comments
 (0)