Mercurial > public > sg101
diff gpp/urls.py @ 509:248dd8dd67f8
For #237, use Redis as the source of posts for the RSS feeds to hopefully eliminate some slow queries.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 07 Dec 2011 01:08:54 +0000 |
parents | 3b30286adba5 |
children | 51fa1e0ca218 |
line wrap: on
line diff
--- a/gpp/urls.py Sun Dec 04 19:53:27 2011 +0000 +++ b/gpp/urls.py Wed Dec 07 01:08:54 2011 +0000 @@ -28,11 +28,11 @@ cache_page(LatestNewsFeed(), 6 * 60 * 60), name='feeds-news'), url(r'^feeds/forums/$', - cache_page(ForumsFeed(), 15 * 60), + cache_page(ForumsFeed(), 5 * 60), {'forum_slug': None}, 'feeds-forum_combined'), url(r'^feeds/forums/(?P<forum_slug>[\w\d-]+)/$', - cache_page(ForumsFeed(), 15 * 60), + cache_page(ForumsFeed(), 5 * 60), name='feeds-forum'), (r'^forums/', include('forums.urls')), (r'^irc/', include('irc.urls')),