From 90134ee968f6f6442eedb5548ee292fc03c77c2a Mon Sep 17 00:00:00 2001 From: Clay Gerrard Date: Thu, 14 Dec 2017 12:09:04 -0800 Subject: [PATCH] add symlink to container sync default and sample config Change-Id: I83e51daa994b9527eccbb8a88952c630aacd39c3 --- etc/internal-client.conf-sample | 6 +++++- swift/container/sync.py | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/etc/internal-client.conf-sample b/etc/internal-client.conf-sample index aed3c9a63c..a3be2eaa41 100644 --- a/etc/internal-client.conf-sample +++ b/etc/internal-client.conf-sample @@ -24,13 +24,17 @@ # log_statsd_metric_prefix = [pipeline:main] -pipeline = catch_errors proxy-logging cache proxy-server +pipeline = catch_errors proxy-logging cache symlink proxy-server [app:proxy-server] use = egg:swift#proxy account_autocreate = true # See proxy-server.conf-sample for options +[filter:symlink] +use = egg:swift#symlink +# See proxy-server.conf-sample for options + [filter:cache] use = egg:swift#memcache # See proxy-server.conf-sample for options diff --git a/swift/container/sync.py b/swift/container/sync.py index 2d2d65d08a..0f96c496a1 100644 --- a/swift/container/sync.py +++ b/swift/container/sync.py @@ -73,13 +73,17 @@ ic_conf_body = """ # log_statsd_metric_prefix = [pipeline:main] -pipeline = catch_errors proxy-logging cache proxy-server +pipeline = catch_errors proxy-logging cache symlink proxy-server [app:proxy-server] use = egg:swift#proxy account_autocreate = true # See proxy-server.conf-sample for options +[filter:symlink] +use = egg:swift#symlink +# See proxy-server.conf-sample for options + [filter:cache] use = egg:swift#memcache # See proxy-server.conf-sample for options