automation: moved update groups task into celery task
marcink -
r4145:bf25ce62 default
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -341,3 +341,9
341 log = get_logger(beat_check)
341 log = get_logger(beat_check)
342 log.info('Got args: %r and kwargs %r', args, kwargs)
342 log.info('Got args: %r and kwargs %r', args, kwargs)
343 return time.time()
343 return time.time()
344
345
346 @async_task(ignore_result=True)
347 def sync_repo_groups_last_update(*args, **kwargs):
348 from rhodecode.model.repo_group import RepoGroupModel
349 return RepoGroupModel().update_commit_cache()
Comments 0
You need to be logged in to leave comments. Login now