Revision b36421a6
b/settings.py.dist | ||
---|---|---|
142 | 142 |
#http://docs.djangoproject.com/en/dev/topics/auth/#auth-profiles |
143 | 143 |
AUTH_PROFILE_MODULE = 'synnefo.OceanUser' |
144 | 144 |
|
145 |
# after this time passes and the client gets no response, |
|
146 |
# it raises an alert that there are network problems |
|
145 |
# API requests from the GUI time out after that many seconds. |
|
147 | 146 |
TIMEOUT = 10 * 1000 |
148 | 147 |
|
148 |
# The API will return HTTP Bad Request if the ?changes-since |
|
149 |
# parameter refers to a point in time more than POLL_LIMIT seconds ago. |
|
149 | 150 |
POLL_LIMIT = 3600 |
150 |
#maximum number of seconds, needed for server and images polling |
|
151 | 151 |
|
152 |
# This should be set to the PUB endpoint maintained by ganeti-0mqd. |
|
153 |
# Normally, this is a TCP port on the Ganeti master IP. |
|
152 | 154 |
GANETI_ZMQ_PUBLISHER = "tcp://62.217.120.67:5801" |
155 |
|
|
156 |
# The API implementation needs to accept and return absolute references |
|
157 |
# to its resources. Thus, it needs to know its public URL. |
|
153 | 158 |
API_ROOT_URL = 'http://127.0.0.1:8000/api/' |
159 |
|
Also available in: Unified diff