diff options
author | Christian Schwede <info@cschwede.de> | 2013-03-04 17:53:44 +0100 |
---|---|---|
committer | Christian Schwede <info@cschwede.de> | 2013-03-08 14:31:35 +0100 |
commit | 28c75db0e7103603e89e0a5ba3c32b7505e4d89e (patch) | |
tree | 7bfdf264c2508b9be9d40970c30d987363ef3a1b /setup.py | |
parent | 48380c501a4d128e021fdb5de7fe33f1013a3e57 (diff) | |
download | swift-28c75db0e7103603e89e0a5ba3c32b7505e4d89e.tar.gz |
Account quotas
Add a new middleware implementing account quotas.
This middleware blocks write requests (PUT, POST) if a given quota (in bytes)
is exceeded while DELETE requests are still allowed.
Quotas are stored in the x-account-meta-quota-bytes metadata entry.
Write requests to this metadata setting are only allowed for resellers.
Change-Id: I57fd7c6209f34cc79d4bab72d500d43ba2a62083
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -104,6 +104,8 @@ setup( 'bulk=swift.common.middleware.bulk:filter_factory', 'container_quotas=swift.common.middleware.container_quotas:' 'filter_factory', + 'account_quotas=swift.common.middleware.account_quotas:' + 'filter_factory', 'proxy_logging=swift.common.middleware.proxy_logging:' 'filter_factory', 'slo=swift.common.middleware.slo:filter_factory', |