Commit 768c9b0a authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

pithos: Change default container quota policy

Set PITHOS_BACKEND_CONTAINER_QUOTA to 0
(to disable by default the container quota check)
instead of setting to something big

Refs: #3543
parent cf6c6f3c
......@@ -40,8 +40,8 @@ PITHOS_BACKEND_BLOCK_UMASK 0o022
PITHOS_BACKEND_QUEUE_MODULE None Use ``pithos.backends.lib.rabbitmq`` to enable
PITHOS_BACKEND_QUEUE_HOSTS None Format like [``amqp://guest:guest@localhost:5672``
PITHOS_BACKEND_QUEUE_EXCHANGE pithos
PITHOS_BACKEND_ACCOUNT_QUOTA 50 GB (50 * 1024 ** 3) Default account quota
PITHOS_BACKEND_CONTAINER_QUOTA 50 GB (50 * 1024 ** 4) Default container quota
PITHOS_BACKEND_ACCOUNT_QUOTA 50 GB (50 * 1024 ** 3) Default account quota (set to 0 to disable control)
PITHOS_BACKEND_CONTAINER_QUOTA 0 Default container quota (set to 0 to disable control - default disabled)
PITHOS_BACKEND_VERSIONING auto Default versioning policy for containers
PITHOS_BACKEND_FREE_VERSIONING True Default versioning debit policy (default free)
PITHOS_BACKEND_POOL_SIZE 5 Default backend pool size
......
......@@ -14,7 +14,7 @@
# Default setting for new accounts.
#PITHOS_BACKEND_ACCOUNT_QUOTA = 50 * 1024 * 1024 * 1024
#PITHOS_BACKEND_CONTAINER_QUOTA = 50 * 1024 * 1024 * 1024 * 1024
#PITHOS_BACKEND_CONTAINER_QUOTA = 0
#PITHOS_BACKEND_VERSIONING = 'auto'
#PITHOS_BACKEND_FREE_VERSIONING = True
......
......@@ -29,7 +29,7 @@ BACKEND_QUEUE_EXCHANGE = getattr(settings, 'PITHOS_BACKEND_QUEUE_EXCHANGE', 'pit
BACKEND_ACCOUNT_QUOTA = getattr(
settings, 'PITHOS_BACKEND_ACCOUNT_QUOTA', 50 * 1024 * 1024 * 1024)
BACKEND_CONTAINER_QUOTA = getattr(
settings, 'PITHOS_BACKEND_CONTAINER_QUOTA', 50 * 1024 * 1024 * 1024 * 1024)
settings, 'PITHOS_BACKEND_CONTAINER_QUOTA', 0)
BACKEND_VERSIONING = getattr(settings, 'PITHOS_BACKEND_VERSIONING', 'auto')
BACKEND_FREE_VERSIONING = getattr(settings, 'PITHOS_BACKEND_FREE_VERSIONING', True)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment