diff --git a/apps/am/apps.py b/apps/am/apps.py index c6b8cba9..c9eecb9d 100755 --- a/apps/am/apps.py +++ b/apps/am/apps.py @@ -6,8 +6,8 @@ class AmConfig(AppConfig): name = 'apps.am' def ready(self) -> None: - if cache.get('cache_areas_need_task', True): - from apps.am.tasks import cache_areas_info - cache_areas_info.delay() - cache.set('cache_areas_need_task', False, timeout=30) + # if cache.get('cache_areas_need_task', True): + # from apps.am.tasks import cache_areas_info + # cache_areas_info.delay() + # cache.set('cache_areas_need_task', False, timeout=30) return super().ready()