Revision 8007ba7b settings.py.dist

b/settings.py.dist
183 183
QUEUE_GANETI_EVENTS = "events"
184 184
QUEUE_CRON_CREDITS = "credits"
185 185
QUEUE_EMAIL = "email"
186
QUEUE_API = "api"
187
QUEUE_RECONC = "reconciliation"
186 188
QUEUE_DEBUG = "debug"       # Debug queue, retrieves all messages
187
QUEUES = (QUEUE_GANETI_EVENTS, QUEUE_CRON_CREDITS, QUEUE_EMAIL)
189
QUEUES = (QUEUE_GANETI_EVENTS, QUEUE_CRON_CREDITS, QUEUE_EMAIL, QUEUE_API)
188 190

  
189 191
BINDINGS_DEBUG = [
190 192
    # Queue         # Exchange          # RouteKey  # Handler
......
200 202
    (QUEUE_CRON_CREDITS,    EXCHANGE_CRON,      '*.credits.*',        'update_credits'),
201 203
    (QUEUE_EMAIL,           EXCHANGE_API,       '*.email.*',          'send_email'),
202 204
    (QUEUE_EMAIL,           EXCHANGE_CRON,      '*.email.*',          'send_email'),
203
    (QUEUE_API,             EXCHANGE_API,       '*.email.*',          'send_email'),
205
    (QUEUE_RECONC,          EXCHANGE_CRON,      'reconciliation.*',   'trigger_status_update'),
204 206
]
205 207

  
206 208
def fix_amqp_settings(backend_prefix):
......
240 242
#          work after this many hours after 2011/05/10
241 243
AUTH_TOKEN_DURATION = 30 * 24
242 244

  
243
# Number of minutes between reconciliations
245
# Minutes between reconciliations
244 246
RECONCILIATION_MIN = 30

Also available in: Unified diff