No longer doing overly zealous read story cleanup.

This commit is contained in:
Samuel Clay 2013-04-08 11:02:41 -07:00
parent eebba16d89
commit 532d1a67a7

View file

@ -376,7 +376,7 @@ class Dispatcher:
cp1 = time.time() - start_cleanup
MUserStory.delete_old_stories(feed_id=feed.pk)
cp2 = time.time() - cp1 - start_cleanup
MUserStory.sync_all_redis(feed_id=feed.pk)
# MUserStory.sync_all_redis(feed_id=feed.pk)
logging.debug(' ---> [%-30s] ~FBDone with feed cleanup. Took %.4s+%.4s+%.4s=~SB%.4s~SN sec.' % (feed.title[:30], cp1, cp2, time.time() - cp2 - cp1 - start_cleanup, time.time() - start_cleanup))
try:
self.count_unreads_for_subscribers(feed)