|
a/pyforge/celeryconfig.py |
|
b/pyforge/celeryconfig.py |
|
... |
|
... |
5 |
# We shouldn't need to supply these because we're using Mongo,
|
5 |
# We shouldn't need to supply these because we're using Mongo,
|
6 |
# but Celery gives us errors if we don't.
|
6 |
# but Celery gives us errors if we don't.
|
7 |
DATABASE_ENGINE = "sqlite3"
|
7 |
DATABASE_ENGINE = "sqlite3"
|
8 |
DATABASE_NAME = "celery.db"
|
8 |
DATABASE_NAME = "celery.db"
|
9 |
|
9 |
|
10 |
AMQP_SERVER = "localhost"
|
10 |
BROKER_HOST = "localhost"
|
11 |
AMQP_PORT = 5672
|
11 |
BROKER_PORT = 5672
|
12 |
AMQP_VHOST = "celeryvhost"
|
12 |
BROKER_VHOST = "celeryvhost"
|
13 |
AMQP_USER = "celeryuser"
|
13 |
BROKER_USER = "celeryuser"
|
14 |
AMQP_PASSWORD = "celerypw"
|
14 |
BROKER_PASSWORD = "celerypw"
|
15 |
|
15 |
|
16 |
CELERYD_LOG_FILE = "celeryd.log"
|
16 |
CELERYD_LOG_FILE = "celeryd.log"
|
17 |
CELERYD_PID_FILE = "celeryd.pid"
|
17 |
CELERYD_PID_FILE = "celeryd.pid"
|
18 |
CELERYD_DAEMON_LOG_LEVEL = "INFO"
|
18 |
CELERYD_DAEMON_LOG_LEVEL = "INFO"
|
19 |
|
19 |
|
|
... |
|
... |
27 |
CELERY_AMQP_PUBLISHER_ROUTING_KEY = "task.regular"
|
27 |
CELERY_AMQP_PUBLISHER_ROUTING_KEY = "task.regular"
|
28 |
CELERY_AMQP_EXCHANGE_TYPE = "topic"
|
28 |
CELERY_AMQP_EXCHANGE_TYPE = "topic"
|
29 |
CELERY_AMQP_CONSUMER_QUEUE = "forge_tasks"
|
29 |
CELERY_AMQP_CONSUMER_QUEUE = "forge_tasks"
|
30 |
CELERY_AMQP_CONSUMER_ROUTING_KEY = "forge.#"
|
30 |
CELERY_AMQP_CONSUMER_ROUTING_KEY = "forge.#"
|
31 |
|
31 |
|
32 |
CELERY_IMPORTS = ("pyforge.tasks.MailTask")
|
32 |
CELERY_IMPORTS = ["pyforge.tasks.MailTask"]
|