0d5eb96adeb12ecc2c2a1fd4554cc6a01c5c5b98,apps/search/models.py,MUserSearch,index_subscriptions_for_search,#MUserSearch#,48

Before Change


        
        subscriptions = UserSubscription.objects.filter(user=user)
        total = subscriptions.count()
        logging.user(user, "~FCIndexing ~SB%s feeds~SN for ~SB~FB%s~FC~SN..." % 
                     (total, user.username))
        
        for sub in subscriptions:
            try:
                feed = sub.feed

After Change


        res.join_native()
        
        duration = time.time() - start
        logging.user(user, "~FCIndexed ~SB%s feeds~SN in ~FM~SB%s~FC~SN sec." % 
                     (total, round(duration, 2)))
        r.publish(user.username, "search_index_complete:done")
        
        self.subscriptions_indexed = True
        self.subscriptions_indexing = False
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: samuelclay/NewsBlur
Commit Name: 0d5eb96adeb12ecc2c2a1fd4554cc6a01c5c5b98
Time: 2014-04-22
Author: samuel@ofbrooklyn.com
File Name: apps/search/models.py
Class Name: MUserSearch
Method Name: index_subscriptions_for_search


Project Name: samuelclay/NewsBlur
Commit Name: 8c9ac471317f0d9073a4f9915b253fcb746f32ee
Time: 2016-02-24
Author: samuel@ofbrooklyn.com
File Name: apps/api/views.py
Class Name:
Method Name: check_share_on_site


Project Name: samuelclay/NewsBlur
Commit Name: b18662872a2575996418c7e0b8bb744017a2c54d
Time: 2013-06-15
Author: samuel@ofbrooklyn.com
File Name: apps/api/views.py
Class Name:
Method Name: login