From 391aa76dd63b7788caabc8bc1a6742a3445a44bb Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Tue, 2 Mar 2010 17:04:54 +0000 Subject: [PATCH] Lowering worker threads from 8 to 4 to conserve memory. --- apps/rss_feeds/management/commands/refresh_feeds.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/rss_feeds/management/commands/refresh_feeds.py b/apps/rss_feeds/management/commands/refresh_feeds.py index 41ea22e14..abbc49d58 100644 --- a/apps/rss_feeds/management/commands/refresh_feeds.py +++ b/apps/rss_feeds/management/commands/refresh_feeds.py @@ -18,7 +18,7 @@ class Command(BaseCommand): help='Wait timeout in seconds when connecting to feeds.'), make_option('-V', '--verbose', action='store_true', dest='verbose', default=False, help='Verbose output.'), - make_option('-w', '--workerthreads', type='int', default=8, + make_option('-w', '--workerthreads', type='int', default=4, help='Worker threads that will fetch feeds in parallel.'), ) @@ -53,4 +53,4 @@ class Command(BaseCommand): os._exit(1) sys.exit() - \ No newline at end of file +