skip to Main Content

Celery not executing new tasks if redis lost connection is restablished

I have a Celery worker configured to connect to redis as follows: celery_app_site24x7 = Celery('monitoringExterne.celerys.site24x7', broker=settings.REDIS['broker'], backend=settings.REDIS['backend']) celery_app_site24x7.conf.broker_transport_options = { 'visibility_timeout': 36000 } celery_app_site24x7.conf.socket_timeout = 300 celery_app_site24x7.conf.broker_connection_max_retries = None celery_app_site24x7.config_from_object('django.conf:settings') celery_app_site24x7.autodiscover_tasks(lambda: settings.INSTALLED_APPS) The issue is that if Redis is down…

VIEW QUESTION

How can i fix a GeoDjango OSError: undefined Symbol? – CentOS

I have the following error with my Django project after doing yum upgrade a few days ago Traceback (most recent call last): File "manage.py", line 21, in <module> main() File "manage.py", line 17, in main execute_from_command_line(sys.argv) File "/home/joincic/GeoRouting/GeoRouting_2/lib/python3.6/site-packages/django/core/management/__init__.py", line 381,…

VIEW QUESTION

django.core.cache.backends.base.InvalidCacheBackendError: Could not find backend 'django_redis.cache.RedisCache': cannot import name 'six'

django_redis failing to import six from django.utils Traceback: Internal Server Error: /harem/reponse/ Traceback (most recent call last): File "/home/yangcoco/.virtualenvs/Django_czbk/lib/python3.6/site-packages/django/core/cache/__init__.py", line 50, in _create_cache backend_cls = import_string(backend) File "/home/yangcoco/.virtualenvs/Django_czbk/lib/python3.6/site-packages/django/utils/module_loading.py", line 17, in import_string module = import_module(module_path) File "/home/yangcoco/.virtualenvs/Django_czbk/lib/python3.6/importlib/__init__.py", line 126, in…

VIEW QUESTION
Back To Top
Search