##// END OF EJS Templates
automation: moved update groups task into celery task
marcink -
r4145:bf25ce62 default
parent child Browse files
Show More
@@ -341,3 +341,9 b' def beat_check(*args, **kwargs):'
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()
General Comments 0
You need to be logged in to leave comments. Login now