Refresh badges every 10 minutes
Now that they are new, they should be snappy!
This commit is contained in:
@@ -208,8 +208,8 @@ CELERY_BEAT_SCHEDULE = {
|
|||||||
},
|
},
|
||||||
'refresh-blenderid-badges': {
|
'refresh-blenderid-badges': {
|
||||||
'task': 'pillar.celery.badges.sync_badges_for_users',
|
'task': 'pillar.celery.badges.sync_badges_for_users',
|
||||||
'schedule': 600, # every N seconds
|
'schedule': 10 * 60, # every N seconds
|
||||||
'args': (540, ), # time limit in seconds, keep shorter than 'schedule'
|
'args': (9 * 60, ), # time limit in seconds, keep shorter than 'schedule'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user