From 1135446ff0abf969b51d4ba014ce548fe43ad28e Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Thu, 29 May 2014 15:44:05 -0700 Subject: [PATCH] OMG, I shipped a 3 second sleep. Doh! --- apps/reader/views.py | 1 - templates/maintenance_off.html | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/reader/views.py b/apps/reader/views.py index 69d5bd89f..cf066c54d 100644 --- a/apps/reader/views.py +++ b/apps/reader/views.py @@ -392,7 +392,6 @@ def refresh_feeds(request): feed_ids = request.REQUEST.getlist('feed_id') check_fetch_status = request.REQUEST.get('check_fetch_status') favicons_fetching = request.REQUEST.getlist('favicons_fetching') - time.sleep(3) social_feed_ids = [feed_id for feed_id in feed_ids if 'social:' in feed_id] feed_ids = list(set(feed_ids) - set(social_feed_ids)) diff --git a/templates/maintenance_off.html b/templates/maintenance_off.html index 7b3445473..a3b9dc4e8 100644 --- a/templates/maintenance_off.html +++ b/templates/maintenance_off.html @@ -85,8 +85,7 @@

NewsBlur is in maintenance mode

-

This will take about 5 minutes. This is the second half of two maintenance modes for the night. I run this maintenance about four times a year. Check the average load time graphs, they should go down to a nice even 0.1 sec on average after tonight's maintenance.

-

Technically what I'm doing is moving the primary mongo server to a secondary so I can shut it down and run a compaction. Takes a few hours. This is now done and I'm flipping back to the primary.

+

This will take about 5 minutes. The MongoDB server is cracking under normal load, so I'm trying some things in order to get it back into good shape.

To pass the time, check out what's popular on MLKSHK.