Parent: [e890fa] (diff)

Download this file

settings.py    20 lines (11 with data), 621 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
# This file contains python variables that configure Lamson for email processing.
import logging
relay_config = {'host': 'localhost', 'port': 8825}
receiver_config = {'host': 'localhost', 'port': 8823}
handlers = ['app.handlers.sample', 'app.handlers.index', 'app.handlers.amqp', 'app.handlers.react']
router_defaults = {'host': 'localhost'}
template_config = {'dir': 'app', 'module': 'templates'}
# this is for when you run the config.queue boot
queue_config = {'queue': 'run/posts', 'sleep': 10}
queue_handlers = ['app.handlers.index']
# the config/boot.py will turn these values into variables set in settings