mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Twitter photo resync happens on every trim.
This commit is contained in:
parent
021fe32d9f
commit
a7607691a0
1 changed files with 2 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
|||
import datetime
|
||||
import random
|
||||
from celery.task import Task
|
||||
from apps.profile.models import Profile, RNewUserQueue
|
||||
from utils import log as logging
|
||||
|
@ -54,7 +53,6 @@ class CleanupUser(Task):
|
|||
UserSubscription.trim_user_read_stories(user_id)
|
||||
UserSubscription.verify_feeds_scheduled(user_id)
|
||||
|
||||
if random.random() < 0.01:
|
||||
ss = MSocialServices.objects.get(user_id=user_id)
|
||||
ss.sync_twitter_photo()
|
||||
ss = MSocialServices.objects.get(user_id=user_id)
|
||||
ss.sync_twitter_photo()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue