Mercurial > public > sg101
diff gpp/settings.py @ 392:79240675b903
For #178; using the queued_search app to update the search index. Installed redis and dependencies.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 23 Mar 2011 02:02:44 +0000 |
parents | 6d6fdc58487c |
children | 76ba9478ebbd |
line wrap: on
line diff
--- a/gpp/settings.py Wed Mar 23 00:44:06 2011 +0000 +++ b/gpp/settings.py Wed Mar 23 02:02:44 2011 +0000 @@ -134,6 +134,7 @@ 'elsewhere', 'tagging', 'haystack', + 'queued_search', 'accounts', 'antispam', 'bio', @@ -265,6 +266,13 @@ DEBUG_TOOLBAR_CONFIG = local_settings.DEBUG_TOOLBAR_CONFIG ####################################################################### +# Asynchronous settings (queues, queued_search, redis, celery, etc) +####################################################################### +QUEUE_BACKEND = 'redisd' +QUEUE_REDIS_CONNECTION = 'localhost:6379' +QUEUE_REDIS_DB = 0 + +####################################################################### # URL's of 3rd party Javascript and CSS files. # These dictionaries are used by core/templatetags/script_tags, and # should also be used by developers when creating form media classes.