Commit d1d66c06 authored by root's avatar root
Browse files

Set initial resource quantity to something big.

parent 39acb352
......@@ -46,7 +46,7 @@ if QUOTAHOLDER_URL:
from kamaki.clients.quotaholder import QuotaholderClient
ENTITY_KEY = '1'
PRACTICALLY_INF = pow(2, 70)
PRACTICALLY_INF = pow(2, 30)
inf = float('inf')
......@@ -155,7 +155,7 @@ def register_resources(resources):
holder=resource.service,
resource=resource,
key=ENTITY_KEY,
quantity=0,
quantity=PRACTICALLY_INF,
capacity=0,
import_limit=PRACTICALLY_INF,
export_limit=PRACTICALLY_INF,
......
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