root / snf-cyclades-app / synnefo / app_settings / default / quotas.py @ b336e6fa
History | View | Annotate | Download (570 Bytes)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
#
|
3 |
# QUOTAHOLDER configuration
|
4 |
#####################
|
5 |
|
6 |
# URL of the Quotaholder
|
7 |
#
|
8 |
#
|
9 |
# Set to True to use the Quotaholder service. Otherwise, static
|
10 |
# limits are used
|
11 |
CYCLADES_USE_QUOTAHOLDER = False
|
12 |
|
13 |
CYCLADES_QUOTAHOLDER_URL = "http://127.0.0.1:8008/api/quotaholder/v"
|
14 |
|
15 |
CYCLADES_QUOTAHOLDER_TOKEN = ""
|
16 |
|
17 |
# Tune the size of the http pool for the quotaholder client.
|
18 |
# It limits the maximum number of quota-querying requests
|
19 |
# that Cyclades can serve. Extra requests will be blocked
|
20 |
# until another has completed.
|
21 |
CYCLADES_QUOTAHOLDER_POOLSIZE = 200
|