You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/04/15 19:16:19 UTC

[GitHub] [incubator-superset] betodealmeida commented on a change in pull request #7290: Add celery task to refresh SQL Lab datasources cache

betodealmeida commented on a change in pull request #7290: Add celery task to refresh SQL Lab datasources cache
URL: https://github.com/apache/incubator-superset/pull/7290#discussion_r275506652
 
 

 ##########
 File path: superset/tasks/cache.py
 ##########
 @@ -316,8 +316,11 @@ def cache_warmup(strategy_name, *args, **kwargs):
     return results
 
 
-@celery_app.task(name='datasources-cache')
-def update_datasources_cache(cache_timeout=24 * 60 * 60):
+def update_datasources(cache_timeout=24 * 60 * 60):
 
 Review comment:
   Good point, I'll move it to a third location.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org