<h1 dir="auto">Checklist</h1>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> This has already been asked to the <a href="https://groups.google.com/forum/#!forum/celery-users" rel="nofollow">discussion group</a> first.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22Issue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/pulls?q=is%3Apr+label%3A%22PR+Type%3A+Bugfix%22+-label%3A%22Category%3A+Documentation%22">pull requests list</a><br>
for existing proposed fixes.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have checked the <a href="https://github.com/celery/celery/commits/master">commit log</a><br>
to find out if the bug was already fixed in the master branch.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have included all related issues and possible duplicate issues<br>
in this issue (If there are none, check this box anyway).</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have verified that the issue exists against the <code class="notranslate">master</code> branch of Celery.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the contents of <code class="notranslate">pip freeze</code> in the issue.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included all the versions of all the external dependencies required<br>
to reproduce this bug</li>
</ul>
<h4 dir="auto">Related Issues</h4>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="239866650" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/4116" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/4116/hovercard" href="https://github.com/celery/celery/issues/4116">#4116</a></p>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="260820022" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/4292" data-hovercard-type="pull_request" data-hovercard-url="/celery/celery/pull/4292/hovercard" href="https://github.com/celery/celery/pull/4292">#4292</a></p>
<h1 dir="auto">Environment &amp; Settings</h1>
<p dir="auto">4.3.0 (rhubarb):<br>
<strong>Celery version</strong>:</p>

<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><p dir="auto">software -&gt; celery:4.3.0 (rhubarb) kombu:4.5.0 py:3.8.2<br>
billiard:3.6.3.0 py-amqp:2.5.2<br>
platform -&gt; system:Linux arch:64bit, ELF<br>
kernel version:4.15.0-88-generic imp:CPython<br>
loader   -&gt; celery.loaders.app.AppLoader<br>
settings -&gt; transport:amqp results:amqp://guest:**@localhost//</p>
<p dir="auto">ABSOLUTE_URL_OVERRIDES: {<br>
}<br>
ACCOUNT_ADAPTER: 'lancium_box.users.adapters.AccountAdapter'<br>
ACCOUNT_ALLOW_REGISTRATION: True<br>
ACCOUNT_AUTHENTICATION_METHOD: 'username'<br>
ACCOUNT_EMAIL_REQUIRED: True<br>
ACCOUNT_EMAIL_VERIFICATION: 'mandatory'<br>
ACCOUNT_FORMS: {<br>
'login': 'lancium_box.users.forms.CustomLoginForm'}<br>
ADMINS: [('Vitor de Miranda Henrique',<br>
'<a href="mailto:vitor.henrique@lancium.com">vitor.henrique@lancium.com</a>')]<br>
ADMIN_URL: 'admin/'<br>
ALLOWED_HOSTS: []<br>
APPEND_SLASH: True<br>
APPS_DIR: Path:/home/skywalker/lancium_box/lancium_box<br>
AUTHENTICATION_BACKENDS: ['lancium_box.users.auth_backends.CustomAuthenticationBackend',<br>
'django.contrib.auth.backends.ModelBackend',<br>
'allauth.account.auth_backends.AuthenticationBackend']<br>
AUTH_PASSWORD_VALIDATORS: '<strong>'<br>
AUTH_USER_MODEL: 'users.User'<br>
CACHES: {<br>
'default': {   'BACKEND': 'django_redis.cache.RedisCache',<br>
'LOCATION': 'redis://127.0.0.1:6379/1',<br>
'OPTIONS': {   'CLIENT_CLASS': 'django_redis.client.DefaultClient',<br>
'IGNORE_EXCEPTIONS': True}}}<br>
CACHE_MIDDLEWARE_ALIAS: 'default'<br>
CACHE_MIDDLEWARE_KEY_PREFIX: '</strong>'<br>
CACHE_MIDDLEWARE_SECONDS: 600<br>
CELERY_ACCEPT_CONTENT: ['json']<br>
CELERY_BROKER_URL: 'amqp://guest:<strong><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/localhost/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/localhost">@localhost</a>:5672//'<br>
CELERY_IMPORTS: ['lancium_box.monitoring.tasks']<br>
CELERY_RESULT_BACKEND: 'amqp://guest:</strong>@localhost//'<br>
CELERY_RESULT_SERIALIZER: 'json'<br>
CELERY_TASK_SERIALIZER: 'json'<br>
CELERY_TASK_SOFT_TIME_LIMIT: 60<br>
CELERY_TASK_TIME_LIMIT: 300<br>
CELERY_TIMEZONE: 'UTC'<br>
COMPRESSORS: {<br>
'css': 'compressor.css.CssCompressor', 'js': 'compressor.js.JsCompressor'}<br>
COMPRESS_CACHEABLE_PRECOMPILERS:<br>
()<br>
COMPRESS_CACHE_BACKEND: 'default'<br>
COMPRESS_CACHE_KEY_FUNCTION: '<strong>'<br>
COMPRESS_CLEAN_CSS_ARGUMENTS: ''<br>
COMPRESS_CLEAN_CSS_BINARY: 'cleancss'<br>
COMPRESS_CLOSURE_COMPILER_ARGUMENTS: ''<br>
COMPRESS_CLOSURE_COMPILER_BINARY: 'java -jar compiler.jar'<br>
COMPRESS_CSS_HASHING_METHOD: 'mtime'<br>
COMPRESS_DATA_URI_MAX_SIZE: 1024<br>
COMPRESS_DEBUG_TOGGLE: None<br>
COMPRESS_ENABLED: True<br>
COMPRESS_FILTERS: {<br>
'css': ['compressor.filters.css_default.CssAbsoluteFilter'],<br>
'js': ['compressor.filters.jsmin.JSMinFilter']}<br>
COMPRESS_JINJA2_GET_ENVIRONMENT: &lt;function CompressorConf.JINJA2_GET_ENVIRONMENT at 0x7f3a8e76fee0&gt;<br>
COMPRESS_MINT_DELAY: 30<br>
COMPRESS_MTIME_DELAY: 10<br>
COMPRESS_OFFLINE: True<br>
COMPRESS_OFFLINE_CONTEXT: {<br>
'STATIC_URL': '/static/'}<br>
COMPRESS_OFFLINE_MANIFEST: 'manifest.json'<br>
COMPRESS_OFFLINE_TIMEOUT: 31536000<br>
COMPRESS_OUTPUT_DIR: 'CACHE'<br>
COMPRESS_PARSER: 'compressor.parser.AutoSelectParser'<br>
COMPRESS_PRECOMPILERS:<br>
()<br>
COMPRESS_REBUILD_TIMEOUT: 2592000<br>
COMPRESS_ROOT: '/home/skywalker/lancium_box/staticfiles'<br>
COMPRESS_STORAGE: 'compressor.storage.GzipCompressorFileStorage'<br>
COMPRESS_TEMPLATE_FILTER_CONTEXT: {<br>
'STATIC_URL': '/static/'}<br>
COMPRESS_URL: '/static/'<br>
COMPRESS_URL_PLACEHOLDER: '/compressor_url_placeholder/'<br>
COMPRESS_VERBOSE: False<br>
COMPRESS_YUGLIFY_BINARY: 'yuglify'<br>
COMPRESS_YUGLIFY_CSS_ARGUMENTS: '--terminal'<br>
COMPRESS_YUGLIFY_JS_ARGUMENTS: '--terminal'<br>
COMPRESS_YUI_BINARY: 'java -jar yuicompressor.jar'<br>
COMPRESS_YUI_CSS_ARGUMENTS: ''<br>
COMPRESS_YUI_JS_ARGUMENTS: ''<br>
CRISPY_TEMPLATE_PACK: 'bootstrap4'<br>
CSRF_COOKIE_AGE: 31449600<br>
CSRF_COOKIE_DOMAIN: None<br>
CSRF_COOKIE_HTTPONLY: True<br>
CSRF_COOKIE_NAME: 'csrftoken'<br>
CSRF_COOKIE_PATH: '/'<br>
CSRF_COOKIE_SAMESITE: 'Lax'<br>
CSRF_COOKIE_SECURE: False<br>
CSRF_FAILURE_VIEW: 'django.views.csrf.csrf_failure'<br>
CSRF_HEADER_NAME: 'HTTP_X_CSRFTOKEN'<br>
CSRF_TRUSTED_ORIGINS: []<br>
CSRF_USE_SESSIONS: False<br>
DATABASES: {<br>
'default': {   'ATOMIC_REQUESTS': True,<br>
'AUTOCOMMIT': True,<br>
'CONN_MAX_AGE': None,<br>
'ENGINE': 'django.db.backends.postgresql',<br>
'HOST': '10.2.40.205',<br>
'NAME': 'lanciumdb',<br>
'OPTIONS': {},<br>
'PASSWORD': '</strong>',<br>
'PORT': 5432,<br>
'TEST': {   'CHARSET': None,<br>
'COLLATION': None,<br>
'MIRROR': None,<br>
'NAME': None},<br>
'TIME_ZONE': None,<br>
'USER': 'lancium_user'}}<br>
DATABASE_ROUTERS: '<strong>'<br>
DATACENTER_ROOM: None<br>
DATA_UPLOAD_MAX_MEMORY_SIZE: 2621440<br>
DATA_UPLOAD_MAX_NUMBER_FIELDS: 1000<br>
DATETIME_FORMAT: 'N j, Y, P'<br>
DATETIME_INPUT_FORMATS: ['%Y-%m-%d %H:%M:%S',<br>
'%Y-%m-%d %H:%M:%S.%f',<br>
'%Y-%m-%d %H:%M',<br>
'%Y-%m-%d',<br>
'%m/%d/%Y %H:%M:%S',<br>
'%m/%d/%Y %H:%M:%S.%f',<br>
'%m/%d/%Y %H:%M',<br>
'%m/%d/%Y',<br>
'%m/%d/%y %H:%M:%S',<br>
'%m/%d/%y %H:%M:%S.%f',<br>
'%m/%d/%y %H:%M',<br>
'%m/%d/%y']<br>
DATE_FORMAT: 'N j, Y'<br>
DATE_INPUT_FORMATS: ['%Y-%m-%d',<br>
'%m/%d/%Y',<br>
'%m/%d/%y',<br>
'%b %d %Y',<br>
'%b %d, %Y',<br>
'%d %b %Y',<br>
'%d %b, %Y',<br>
'%B %d %Y',<br>
'%B %d, %Y',<br>
'%d %B %Y',<br>
'%d %B, %Y']<br>
DEBUG: False<br>
DEBUG_PROPAGATE_EXCEPTIONS: False<br>
DECIMAL_SEPARATOR: '.'<br>
DEFAULT_CHARSET: 'utf-8'<br>
DEFAULT_CONTENT_TYPE: 'text/html'<br>
DEFAULT_EXCEPTION_REPORTER_FILTER: 'django.views.debug.SafeExceptionReporterFilter'<br>
DEFAULT_FILE_STORAGE: 'django.core.files.storage.FileSystemStorage'<br>
DEFAULT_FROM_EMAIL: 'Smart Response <a href="mailto:noreply@lancium.com">noreply@lancium.com</a>'<br>
DEFAULT_INDEX_TABLESPACE: ''<br>
DEFAULT_TABLESPACE: ''<br>
DISABLE_DASHBOARD: False<br>
DISALLOWED_USER_AGENTS: []<br>
DJANGO_APPS: ['django.contrib.auth',<br>
'django.contrib.contenttypes',<br>
'django.contrib.sessions',<br>
'django.contrib.sites',<br>
'django.contrib.messages',<br>
'django.contrib.staticfiles',<br>
'django.contrib.humanize',<br>
'django.contrib.admin']<br>
EMAIL_BACKEND: 'django.core.mail.backends.smtp.EmailBackend'<br>
EMAIL_HOST: 'smtp.gmail.com'<br>
EMAIL_PORT: 587<br>
EMAIL_SSL_CERTFILE: None<br>
EMAIL_SSL_KEYFILE: '</strong>'<br>
EMAIL_SUBJECT_PREFIX: '[Smart Response]'<br>
EMAIL_TIMEOUT: 10<br>
EMAIL_USE_LOCALTIME: False<br>
EMAIL_USE_SSL: False<br>
EMAIL_USE_TLS: True<br>
FILE_CHARSET: 'utf-8'<br>
FILE_UPLOAD_DIRECTORY_PERMISSIONS: None<br>
FILE_UPLOAD_HANDLERS: ['django.core.files.uploadhandler.MemoryFileUploadHandler',<br>
'django.core.files.uploadhandler.TemporaryFileUploadHandler']<br>
FILE_UPLOAD_MAX_MEMORY_SIZE: 2621440<br>
FILE_UPLOAD_PERMISSIONS: None<br>
FILE_UPLOAD_TEMP_DIR: None<br>
FIRST_DAY_OF_WEEK: 0<br>
FIXTURE_DIRS:<br>
('/home/skywalker/lancium_box/lancium_box/fixtures',)<br>
FORCE_SCRIPT_NAME: None<br>
FORMAT_MODULE_PATH: None<br>
FORM_RENDERER: 'django.forms.renderers.DjangoTemplates'<br>
IGNORABLE_404_URLS: []<br>
INSTALLED_APPS: ['django.contrib.auth',<br>
'django.contrib.contenttypes',<br>
'django.contrib.sessions',<br>
'django.contrib.sites',<br>
'django.contrib.messages',<br>
'django.contrib.staticfiles',<br>
'django.contrib.humanize',<br>
'django.contrib.admin',<br>
'crispy_forms',<br>
'allauth',<br>
'allauth.account',<br>
'allauth.socialaccount',<br>
'rest_framework',<br>
'rest_framework.authtoken',<br>
'django_celery_beat',<br>
'sekizai',<br>
'lancium_box.users.apps.UsersConfig',<br>
'lancium_box.datacenter.apps.DatacenterConfig',<br>
'lancium_box.monitoring.apps.MonitoringConfig',<br>
'lancium_box.cryptocurrency.apps.CryptocurrencyConfig',<br>
'lancium_box.dashboard.apps.DashboardConfig',<br>
'lancium_box.remotebox.apps.RemoteboxConfig',<br>
'lancium_box.api.apps.ApiConfig',<br>
'lancium_box.event.apps.EventConfig',<br>
'lancium_box.control.apps.ControlConfig',<br>
'lancium_box.demand_response.apps.DemandResponseConfig',<br>
'lancium_box.inventory.apps.InventoryConfig',<br>
'compressor']<br>
INTERNAL_IPS: []<br>
LANGUAGES: [('af', 'Afrikaans'),<br>
('ar', 'Arabic'),<br>
('ast', 'Asturian'),<br>
('az', 'Azerbaijani'),<br>
('bg', 'Bulgarian'),<br>
('be', 'Belarusian'),<br>
('bn', 'Bengali'),<br>
('br', 'Breton'),<br>
('bs', 'Bosnian'),<br>
('ca', 'Catalan'),<br>
('cs', 'Czech'),<br>
('cy', 'Welsh'),<br>
('da', 'Danish'),<br>
('de', 'German'),<br>
('dsb', 'Lower Sorbian'),<br>
('el', 'Greek'),<br>
('en', 'English'),<br>
('en-au', 'Australian English'),<br>
('en-gb', 'British English'),<br>
('eo', 'Esperanto'),<br>
('es', 'Spanish'),<br>
('es-ar', 'Argentinian Spanish'),<br>
('es-co', 'Colombian Spanish'),<br>
('es-mx', 'Mexican Spanish'),<br>
('es-ni', 'Nicaraguan Spanish'),<br>
('es-ve', 'Venezuelan Spanish'),<br>
('et', 'Estonian'),<br>
('eu', 'Basque'),<br>
('fa', 'Persian'),<br>
('fi', 'Finnish'),<br>
('fr', 'French'),<br>
('fy', 'Frisian'),<br>
('ga', 'Irish'),<br>
('gd', 'Scottish Gaelic'),<br>
('gl', 'Galician'),<br>
('he', 'Hebrew'),<br>
('hi', 'Hindi'),<br>
('hr', 'Croatian'),<br>
('hsb', 'Upper Sorbian'),<br>
('hu', 'Hungarian'),<br>
('hy', 'Armenian'),<br>
('ia', 'Interlingua'),<br>
('id', 'Indonesian'),<br>
('io', 'Ido'),<br>
('is', 'Icelandic'),<br>
('it', 'Italian'),<br>
('ja', 'Japanese'),<br>
('ka', 'Georgian'),<br>
('kab', 'Kabyle'),<br>
('kk', 'Kazakh'),<br>
('km', 'Khmer'),<br>
('kn', 'Kannada'),<br>
('ko', 'Korean'),<br>
('lb', 'Luxembourgish'),<br>
('lt', 'Lithuanian'),<br>
('lv', 'Latvian'),<br>
('mk', 'Macedonian'),<br>
('ml', 'Malayalam'),<br>
('mn', 'Mongolian'),<br>
('mr', 'Marathi'),<br>
('my', 'Burmese'),<br>
('nb', 'Norwegian Bokmål'),<br>
('ne', 'Nepali'),<br>
('nl', 'Dutch'),<br>
('nn', 'Norwegian Nynorsk'),<br>
('os', 'Ossetic'),<br>
('pa', 'Punjabi'),<br>
('pl', 'Polish'),<br>
('pt', 'Portuguese'),<br>
('pt-br', 'Brazilian Portuguese'),<br>
('ro', 'Romanian'),<br>
('ru', 'Russian'),<br>
('sk', 'Slovak'),<br>
('sl', 'Slovenian'),<br>
('sq', 'Albanian'),<br>
('sr', 'Serbian'),<br>
('sr-latn', 'Serbian Latin'),<br>
('sv', 'Swedish'),<br>
('sw', 'Swahili'),<br>
('ta', 'Tamil'),<br>
('te', 'Telugu'),<br>
('th', 'Thai'),<br>
('tr', 'Turkish'),<br>
('tt', 'Tatar'),<br>
('udm', 'Udmurt'),<br>
('uk', 'Ukrainian'),<br>
('ur', 'Urdu'),<br>
('vi', 'Vietnamese'),<br>
('zh-hans', 'Simplified Chinese'),<br>
('zh-hant', 'Traditional Chinese')]<br>
LANGUAGES_BIDI: ['he', 'ar', 'fa', 'ur']<br>
LANGUAGE_CODE: 'en-us'<br>
LANGUAGE_COOKIE_AGE: None<br>
LANGUAGE_COOKIE_DOMAIN: None<br>
LANGUAGE_COOKIE_NAME: 'django_language'<br>
LANGUAGE_COOKIE_PATH: '/'<br>
LOCALE_PATHS: [Path:/home/skywalker/lancium_box/locale]<br>
LOCAL_APPS: ['lancium_box.users.apps.UsersConfig',<br>
'lancium_box.datacenter.apps.DatacenterConfig',<br>
'lancium_box.monitoring.apps.MonitoringConfig',<br>
'lancium_box.cryptocurrency.apps.CryptocurrencyConfig',<br>
'lancium_box.dashboard.apps.DashboardConfig',<br>
'lancium_box.remotebox.apps.RemoteboxConfig',<br>
'lancium_box.api.apps.ApiConfig',<br>
'lancium_box.event.apps.EventConfig',<br>
'lancium_box.control.apps.ControlConfig',<br>
'lancium_box.demand_response.apps.DemandResponseConfig',<br>
'lancium_box.inventory.apps.InventoryConfig']<br>
LOGGING: {<br>
'disable_existing_loggers': False,<br>
'filters': {   'require_debug_false': {   '()': 'django.utils.log.RequireDebugFalse'}},<br>
'formatters': {   'verbose': {   'format': '%(levelname)s %(asctime)s '<br>
'%(module)s %(process)d '<br>
'%(thread)d %(message)s'}},<br>
'handlers': {   'console': {   'class': 'logging.StreamHandler',<br>
'formatter': 'verbose',<br>
'level': 'DEBUG'},<br>
'mail_admins': {   'class': 'django.utils.log.AdminEmailHandler',<br>
'filters': ['require_debug_false'],<br>
'level': 'ERROR'}},<br>
'loggers': {   'django.request': {   'handlers': ['mail_admins'],<br>
'level': 'ERROR',<br>
'propagate': True},<br>
'django.security.DisallowedHost': {   'handlers': [   'console',<br>
'mail_admins'],<br>
'level': 'ERROR',<br>
'propagate': True}},<br>
'root': {'handlers': ['console'], 'level': 'INFO'},<br>
'version': 1}<br>
LOGGING_CONFIG: 'logging.config.dictConfig'<br>
LOGIN_REDIRECT_URL: 'users:redirect'<br>
LOGIN_URL: 'account_login'<br>
LOGOUT_REDIRECT_URL: None<br>
MANAGERS: [('Vitor de Miranda Henrique',<br>
'<a href="mailto:vitor.henrique@lancium.com">vitor.henrique@lancium.com</a>')]<br>
MEDIA_ROOT: '/home/skywalker/lancium_box/lancium_box/media'<br>
MEDIA_URL: '/media/'<br>
MESSAGE_STORAGE: 'django.contrib.messages.storage.fallback.FallbackStorage'<br>
MIDDLEWARE: ['whitenoise.middleware.WhiteNoiseMiddleware',<br>
'django.contrib.sessions.middleware.SessionMiddleware',<br>
'django.middleware.locale.LocaleMiddleware',<br>
'django.middleware.common.CommonMiddleware',<br>
'django.middleware.csrf.CsrfViewMiddleware',<br>
'django.contrib.auth.middleware.AuthenticationMiddleware',<br>
'django.contrib.messages.middleware.MessageMiddleware',<br>
'django.middleware.clickjacking.XFrameOptionsMiddleware']<br>
MIGRATION_MODULES: {<br>
'sites': 'lancium_box.contrib.sites.migrations'}<br>
MONTH_DAY_FORMAT: 'F j'<br>
NUMBER_GROUPING: 0<br>
PASSWORD_HASHERS: '<strong>'<br>
PASSWORD_RESET_TIMEOUT_DAYS: '</strong>'<br>
PREPEND_WWW: False<br>
READ_DOT_ENV_FILE: False<br>
REST_FRAMEWORK: {<br>
'DEFAULT_AUTHENTICATION_CLASSES': [   'rest_framework.authentication.TokenAuthentication']}<br>
ROOT_DIR: Path:/home/skywalker/lancium_box<br>
ROOT_URLCONF: 'config.urls'<br>
SECRET_KEY: '********'<br>
SECURE_BROWSER_XSS_FILTER: True<br>
SECURE_CONTENT_TYPE_NOSNIFF: False<br>
SECURE_HSTS_INCLUDE_SUBDOMAINS: False<br>
SECURE_HSTS_PRELOAD: False<br>
SECURE_HSTS_SECONDS: 0<br>
SECURE_PROXY_SSL_HEADER: None<br>
SECURE_REDIRECT_EXEMPT: []<br>
SECURE_SSL_HOST: None<br>
SECURE_SSL_REDIRECT: False<br>
SERVER_EMAIL: 'Smart Response <a href="mailto:noreply@lancium.com">noreply@lancium.com</a>'<br>
SESSION_CACHE_ALIAS: 'default'<br>
SESSION_COOKIE_AGE: 1209600<br>
SESSION_COOKIE_DOMAIN: None<br>
SESSION_COOKIE_HTTPONLY: True<br>
SESSION_COOKIE_NAME: 'sessionid'<br>
SESSION_COOKIE_PATH: '/'<br>
SESSION_COOKIE_SAMESITE: 'Lax'<br>
SESSION_COOKIE_SECURE: False<br>
SESSION_ENGINE: 'django.contrib.sessions.backends.db'<br>
SESSION_EXPIRE_AT_BROWSER_CLOSE: False<br>
SESSION_FILE_PATH: None<br>
SESSION_SAVE_EVERY_REQUEST: False<br>
SESSION_SERIALIZER: 'django.contrib.sessions.serializers.JSONSerializer'<br>
SETTINGS_MODULE: 'config.settings.production'<br>
SHORT_DATETIME_FORMAT: 'm/d/Y P'<br>
SHORT_DATE_FORMAT: 'm/d/Y'<br>
SIGNING_BACKEND: 'django.core.signing.TimestampSigner'<br>
SILENCED_SYSTEM_CHECKS: []<br>
SITE_ID: 1<br>
SOCIALACCOUNT_ADAPTER: 'lancium_box.users.adapters.SocialAccountAdapter'<br>
STATICFILES_DIRS: ['/home/skywalker/lancium_box/lancium_box/static']<br>
STATICFILES_FINDERS: ['django.contrib.staticfiles.finders.FileSystemFinder',<br>
'django.contrib.staticfiles.finders.AppDirectoriesFinder',<br>
'compressor.finders.CompressorFinder']<br>
STATICFILES_STORAGE: 'whitenoise.storage.CompressedManifestStaticFilesStorage'<br>
STATIC_ROOT: '/home/skywalker/lancium_box/staticfiles'<br>
STATIC_URL: '/static/'<br>
TEMPLATES: [{'BACKEND': 'django.template.backends.django.DjangoTemplates',<br>
'DIRS': ['/home/skywalker/lancium_box/lancium_box/templates'],<br>
'OPTIONS': {'context_processors': ['django.template.context_processors.debug',<br>
'django.template.context_processors.request',<br>
'django.contrib.auth.context_processors.auth',<br>
'django.template.context_processors.i18n',<br>
'django.template.context_processors.media',<br>
'django.template.context_processors.static',<br>
'django.template.context_processors.tz',<br>
'django.contrib.messages.context_processors.messages',<br>
'lancium_box.utils.context_processors.settings_context',<br>
'sekizai.context_processors.sekizai'],<br>
'loaders': [('django.template.loaders.cached.Loader',<br>
['django.template.loaders.filesystem.Loader',<br>
'django.template.loaders.app_directories.Loader'])]}}]<br>
TEST_NON_SERIALIZED_APPS: []<br>
TEST_RUNNER: 'django.test.runner.DiscoverRunner'<br>
THIRD_PARTY_APPS: ['crispy_forms',<br>
'allauth',<br>
'allauth.account',<br>
'allauth.socialaccount',<br>
'rest_framework',<br>
'rest_framework.authtoken',<br>
'django_celery_beat',<br>
'sekizai']<br>
THOUSAND_SEPARATOR: ','<br>
TIME_FORMAT: 'P'<br>
TIME_INPUT_FORMATS: ['%H:%M:%S', '%H:%M:%S.%f', '%H:%M']<br>
TIME_ZONE: 'UTC'<br>
USE_I18N: True<br>
USE_L10N: True<br>
USE_THOUSAND_SEPARATOR: False<br>
USE_TZ: True<br>
USE_X_FORWARDED_HOST: False<br>
USE_X_FORWARDED_PORT: False<br>
WSGI_APPLICATION: 'config.wsgi.application'<br>
X_FRAME_OPTIONS: 'DENY'<br>
YEAR_MONTH_FORMAT: 'F Y'<br>
is_overridden: &lt;bound method Settings.is_overridden of &lt;Settings "config.settings.production"&gt;&gt;</p>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<p dir="auto">Hello everyone,</p>
<p dir="auto">On my project I have 5 workers on running that periodically check or insert data on database (postgress) every 5 seconds . My problem is that celery is opening too many connections to the database. I can see at least 20 connections for the same tasks hitting the database.</p>
<p dir="auto">Is there way to improve this with Django? I tried setting up <code class="notranslate">CONN_MAX_AGE = None</code>  on django, to have the database persist the same connection but that didn't help.</p>
<p dir="auto">I also saw a pull request and some comments on reuse the database on previous mentioned issues but they were reverted because they caused regression problems.</p>
<h3 dir="auto">Python Packages</h3>

<details>
<summary><b><code class="notranslate">pip freeze</code> Output:</b></summary>
<p dir="auto">
</p><p dir="auto">amqp==2.5.2<br>
argon2-cffi==19.2.0<br>
bcrypt==3.1.7<br>
beautifulsoup4==4.7.1<br>
billiard==3.6.3.0<br>
blockchain==1.4.4<br>
boto3==1.12.47<br>
botocore==1.15.47<br>
celery==4.3.0<br>
certifi==2020.4.5.1<br>
cffi==1.14.0<br>
chardet==3.0.4<br>
coreapi==2.3.3<br>
coreschema==0.0.4<br>
cryptography==2.9.2<br>
defusedxml==0.6.0<br>
Django==2.2.8<br>
django-allauth==0.40.0<br>
django-anymail==7.0.0<br>
django-appconf==1.0.4<br>
django-celery-beat==1.5.0<br>
django-classy-tags==0.8.0<br>
django-compressor==2.3<br>
django-crispy-forms==1.8.1<br>
django-environ==0.4.5<br>
django-model-utils==3.2.0<br>
django-pandas==0.6.0<br>
django-redis==4.10.0<br>
django-sekizai==1.0.0<br>
django-storages==1.9.1<br>
django-timezone-field==4.0<br>
djangorestframework==3.10.3<br>
docutils==0.15.2<br>
enum-compat==0.0.3<br>
et-xmlfile==1.0.1<br>
future==0.18.2<br>
gevent==20.4.0<br>
greenlet==0.4.15<br>
gunicorn==20.0.4<br>
idna==2.8<br>
itypes==1.2.0<br>
jdcal==1.4.1<br>
Jinja2==2.11.2<br>
jmespath==0.9.5<br>
kombu==4.5.0<br>
MarkupSafe==1.1.1<br>
numpy==1.16.2<br>
oauthlib==3.1.0<br>
openpyxl==2.6.3<br>
pandas==0.24.2<br>
parallel-ssh==1.9.1<br>
paramiko==2.7.1<br>
Pillow==6.2.1<br>
psycopg2-binary==2.8.4<br>
pycparser==2.20<br>
pyModbusTCP==0.1.8<br>
PyNaCl==1.3.0<br>
pysftp==0.2.9<br>
python-crontab==2.4.2<br>
python-dateutil==2.8.0<br>
python-slugify==4.0.0<br>
python3-openid==3.1.0<br>
pytz==2019.3<br>
rcssmin==1.0.6<br>
redis==3.3.11<br>
requests==2.21.0<br>
requests-oauthlib==1.3.0<br>
rjsmin==1.1.0<br>
s3transfer==0.3.3<br>
six==1.14.0<br>
soupsieve==2.0<br>
sqlparse==0.3.1<br>
ssh2-python==0.18.0.post1<br>
text-unidecode==1.3<br>
uritemplate==3.0.1<br>
urllib3==1.24.3<br>
vine==1.3.0<br>
whitenoise==4.1.4</p>
<p dir="auto"></p>
</details>
<h1 dir="auto">Checklist</h1>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the relevant section in the<br>
<a href="http://docs.celeryproject.org/en/latest/contributing.html#other-bugs" rel="nofollow">contribution guide</a><br>
on reporting bugs.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/celery/celery/issues?q=is%3Aissue+label%3A%22I5597ssue+Type%3A+Bug+Report%22+-label%3A%22Category%3A+Documentation%22">issues list</a><br>
for similar or identical bug reports.</li>
</ul>
<h2 dir="auto">Mandatory Debugging Information</h2>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have included the output of <code class="notranslate">celery -A proj report</code> in the issue.<br>
(if you are not able to do this, then at least specify the Celery<br>
version affected).</li>
</ul>
<h2 dir="auto">Optional Debugging Information</h2>

<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one Python version<br>
and/or implementation.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue on more than one version of the message<br>
broker and/or result backend.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have tried reproducing the issue after downgrading<br>
and/or upgrading Celery and its dependencies.</li>
</ul>
<h2 dir="auto">Related Issues and Possible Duplicates</h2>

<h4 dir="auto">Related Issues</h4>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="456106564" data-permission-text="Title is private" data-url="https://github.com/celery/celery/issues/5597" data-hovercard-type="issue" data-hovercard-url="/celery/celery/issues/5597/hovercard" href="https://github.com/celery/celery/issues/5597">#5597</a></li>
</ul>
<h2 dir="auto">Environment &amp; Settings</h2>

<p dir="auto"><strong>Celery version</strong>: 4.3.0 (rhubarb)</p>

<details>
<summary><b><code class="notranslate">celery report</code> Output:</b></summary>
<p dir="auto">
</p><div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="software -&gt; celery:4.3.0 (rhubarb) kombu:4.4.0 py:3.6.7
            billiard:3.6.0.0 py-amqp:2.4.1
platform -&gt; system:Linux arch:64bit
            kernel version:4.18.0-25-generic imp:CPython
loader   -&gt; celery.loaders.app.AppLoader
settings -&gt; transport:amqp results:disabled

task_queues: [&lt;unbound Queue test -&gt; &lt;unbound Exchange test(direct)&gt; -&gt; test&gt;]"><pre class="notranslate"><code class="notranslate">software -&gt; celery:4.3.0 (rhubarb) kombu:4.4.0 py:3.6.7
            billiard:3.6.0.0 py-amqp:2.4.1
platform -&gt; system:Linux arch:64bit
            kernel version:4.18.0-25-generic imp:CPython
loader   -&gt; celery.loaders.app.AppLoader
settings -&gt; transport:amqp results:disabled

task_queues: [&lt;unbound Queue test -&gt; &lt;unbound Exchange test(direct)&gt; -&gt; test&gt;]
</code></pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Steps to Reproduce</h1>
<h2 dir="auto">Required Dependencies</h2>

<ul dir="auto">
<li><strong>Minimal Python Version</strong>: 3.6.7</li>
<li><strong>Minimal Celery Version</strong>: 4.3.0</li>
<li><strong>Minimal Kombu Version</strong>: 4.4.0</li>
</ul>
<h2 dir="auto">Minimally Reproducible Test Case</h2>

<details>
<p dir="auto">
</p><div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import celery
from kombu import Exchange
from kombu import Queue


class Config:
    task_queues = [
        Queue('test', Exchange('test'), routing_key='test', queue_arguments={'x-max-priority': 3})
    ] # yapf: disable


app = celery.Celery('test')
app.config_from_object(Config)


@app.task(bind=True)
def task(self):
    print(self.request.delivery_info['priority'])
    self.retry(countdown=1)


if __name__ == '__main__':
    task.s().apply_async(priority=1, queue='test')"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">celery</span>
<span class="pl-k">from</span> <span class="pl-s1">kombu</span> <span class="pl-k">import</span> <span class="pl-v">Exchange</span>
<span class="pl-k">from</span> <span class="pl-s1">kombu</span> <span class="pl-k">import</span> <span class="pl-v">Queue</span>


<span class="pl-k">class</span> <span class="pl-v">Config</span>:
    <span class="pl-s1">task_queues</span> <span class="pl-c1">=</span> [
        <span class="pl-v">Queue</span>(<span class="pl-s">'test'</span>, <span class="pl-v">Exchange</span>(<span class="pl-s">'test'</span>), <span class="pl-s1">routing_key</span><span class="pl-c1">=</span><span class="pl-s">'test'</span>, <span class="pl-s1">queue_arguments</span><span class="pl-c1">=</span>{<span class="pl-s">'x-max-priority'</span>: <span class="pl-c1">3</span>})
    ] <span class="pl-c"># yapf: disable</span>


<span class="pl-s1">app</span> <span class="pl-c1">=</span> <span class="pl-s1">celery</span>.<span class="pl-v">Celery</span>(<span class="pl-s">'test'</span>)
<span class="pl-s1">app</span>.<span class="pl-en">config_from_object</span>(<span class="pl-v">Config</span>)


<span class="pl-en">@<span class="pl-s1">app</span>.<span class="pl-en">task</span>(<span class="pl-s1">bind</span><span class="pl-c1">=</span><span class="pl-c1">True</span>)</span>
<span class="pl-k">def</span> <span class="pl-en">task</span>(<span class="pl-s1">self</span>):
    <span class="pl-en">print</span>(<span class="pl-s1">self</span>.<span class="pl-s1">request</span>.<span class="pl-s1">delivery_info</span>[<span class="pl-s">'priority'</span>])
    <span class="pl-s1">self</span>.<span class="pl-en">retry</span>(<span class="pl-s1">countdown</span><span class="pl-c1">=</span><span class="pl-c1">1</span>)


<span class="pl-k">if</span> <span class="pl-s1">__name__</span> <span class="pl-c1">==</span> <span class="pl-s">'__main__'</span>:
    <span class="pl-s1">task</span>.<span class="pl-en">s</span>().<span class="pl-en">apply_async</span>(<span class="pl-s1">priority</span><span class="pl-c1">=</span><span class="pl-c1">1</span>, <span class="pl-s1">queue</span><span class="pl-c1">=</span><span class="pl-s">'test'</span>)</pre></div>
<p dir="auto"></p>
</details>
<h1 dir="auto">Expected Behavior</h1>
<p dir="auto">Expect task to have a priority 1 after self.retry()</p>
<p dir="auto">Expected output:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[tasks]
  . test.task

[2019-07-24 22:31:50,810: INFO/MainProcess] Connected to amqp://guest:**@127.0.0.1:5672//
[2019-07-24 22:31:50,823: INFO/MainProcess] mingle: searching for neighbors
[2019-07-24 22:31:51,855: INFO/MainProcess] mingle: all alone
[2019-07-24 22:31:51,869: INFO/MainProcess] celery@ArtSobes-Home-Ubuntu-18 ready.
[2019-07-24 22:31:51,870: INFO/MainProcess] Received task: test.task[df27b1cc-6a9e-4fdb-aa46-dd02d15e4df2]  
[2019-07-24 22:31:51,973: WARNING/ForkPoolWorker-16] 1
[2019-07-24 22:31:51,995: INFO/MainProcess] Received task: test.task[df27b1cc-6a9e-4fdb-aa46-dd02d15e4df2]  ETA:[2019-07-24 19:31:52.974357+00:00] 
[2019-07-24 22:31:51,995: INFO/ForkPoolWorker-16] Task test.task[df27b1cc-6a9e-4fdb-aa46-dd02d15e4df2] retry: Retry in 1s
[2019-07-24 22:31:54,828: WARNING/ForkPoolWorker-2] 1
[2019-07-24 22:31:54,850: INFO/MainProcess] Received task: test.task[df27b1cc-6a9e-4fdb-aa46-dd02d15e4df2]  ETA:[2019-07-24 19:31:55.829945+00:00] 
[2019-07-24 22:31:54,850: INFO/ForkPoolWorker-2] Task test.task[df27b1cc-6a9e-4fdb-aa46-dd02d15e4df2] retry: Retry in 1s
[2019-07-24 22:31:56,831: WARNING/ForkPoolWorker-4] 1
[2019-07-24 22:31:56,853: INFO/MainProcess] Received task: test.task[df27b1cc-6a9e-4fdb-aa46-dd02d15e4df2]  ETA:[2019-07-24 19:31:57.832523+00:00] 
[2019-07-24 22:31:56,853: INFO/ForkPoolWorker-4] Task test.task[df27b1cc-6a9e-4fdb-aa46-dd02d15e4df2] retry: Retry in 1s
[2019-07-24 22:31:58,833: WARNING/ForkPoolWorker-6] 1"><pre lang="[python]" class="notranslate"><code class="notranslate">[tasks]
  . test.task

[2019-07-24 22:31:50,810: INFO/MainProcess] Connected to amqp://guest:**@127.0.0.1:5672//
[2019-07-24 22:31:50,823: INFO/MainProcess] mingle: searching for neighbors
[2019-07-24 22:31:51,855: INFO/MainProcess] mingle: all alone
[2019-07-24 22:31:51,869: INFO/MainProcess] celery@ArtSobes-Home-Ubuntu-18 ready.
[2019-07-24 22:31:51,870: INFO/MainProcess] Received task: test.task[df27b1cc-6a9e-4fdb-aa46-dd02d15e4df2]  
[2019-07-24 22:31:51,973: WARNING/ForkPoolWorker-16] 1
[2019-07-24 22:31:51,995: INFO/MainProcess] Received task: test.task[df27b1cc-6a9e-4fdb-aa46-dd02d15e4df2]  ETA:[2019-07-24 19:31:52.974357+00:00] 
[2019-07-24 22:31:51,995: INFO/ForkPoolWorker-16] Task test.task[df27b1cc-6a9e-4fdb-aa46-dd02d15e4df2] retry: Retry in 1s
[2019-07-24 22:31:54,828: WARNING/ForkPoolWorker-2] 1
[2019-07-24 22:31:54,850: INFO/MainProcess] Received task: test.task[df27b1cc-6a9e-4fdb-aa46-dd02d15e4df2]  ETA:[2019-07-24 19:31:55.829945+00:00] 
[2019-07-24 22:31:54,850: INFO/ForkPoolWorker-2] Task test.task[df27b1cc-6a9e-4fdb-aa46-dd02d15e4df2] retry: Retry in 1s
[2019-07-24 22:31:56,831: WARNING/ForkPoolWorker-4] 1
[2019-07-24 22:31:56,853: INFO/MainProcess] Received task: test.task[df27b1cc-6a9e-4fdb-aa46-dd02d15e4df2]  ETA:[2019-07-24 19:31:57.832523+00:00] 
[2019-07-24 22:31:56,853: INFO/ForkPoolWorker-4] Task test.task[df27b1cc-6a9e-4fdb-aa46-dd02d15e4df2] retry: Retry in 1s
[2019-07-24 22:31:58,833: WARNING/ForkPoolWorker-6] 1
</code></pre></div>
<h1 dir="auto">Actual Behavior</h1>
<p dir="auto">On the first call task priority is 1, but after retry it is None</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[tasks]
  . test.task

[2019-07-24 22:30:51,901: INFO/MainProcess] Connected to amqp://guest:**@127.0.0.1:5672//
[2019-07-24 22:30:51,913: INFO/MainProcess] mingle: searching for neighbors
[2019-07-24 22:30:52,940: INFO/MainProcess] mingle: all alone
[2019-07-24 22:30:52,956: INFO/MainProcess] celery@ArtSobes-Home-Ubuntu-18 ready.
[2019-07-24 22:30:52,957: INFO/MainProcess] Received task: test.task[bc93cbd9-9a20-41cb-aaef-55c71245038e]  
[2019-07-24 22:30:53,060: WARNING/ForkPoolWorker-16] 1
[2019-07-24 22:30:53,083: INFO/MainProcess] Received task: test.task[bc93cbd9-9a20-41cb-aaef-55c71245038e]  ETA:[2019-07-24 19:30:54.062046+00:00] 
[2019-07-24 22:30:53,083: INFO/ForkPoolWorker-16] Task test.task[bc93cbd9-9a20-41cb-aaef-55c71245038e] retry: Retry in 1s
[2019-07-24 22:30:54,958: WARNING/ForkPoolWorker-2] None
[2019-07-24 22:30:54,979: INFO/MainProcess] Received task: test.task[bc93cbd9-9a20-41cb-aaef-55c71245038e]  ETA:[2019-07-24 19:30:55.959481+00:00] 
[2019-07-24 22:30:54,979: INFO/ForkPoolWorker-2] Task test.task[bc93cbd9-9a20-41cb-aaef-55c71245038e] retry: Retry in 1s
[2019-07-24 22:30:56,960: WARNING/ForkPoolWorker-4] None
[2019-07-24 22:30:56,982: INFO/MainProcess] Received task: test.task[bc93cbd9-9a20-41cb-aaef-55c71245038e]  ETA:[2019-07-24 19:30:57.962134+00:00] 
[2019-07-24 22:30:56,983: INFO/ForkPoolWorker-4] Task test.task[bc93cbd9-9a20-41cb-aaef-55c71245038e] retry: Retry in 1s
[2019-07-24 22:30:58,963: WARNING/ForkPoolWorker-6] None"><pre lang="[python]" class="notranslate"><code class="notranslate">[tasks]
  . test.task

[2019-07-24 22:30:51,901: INFO/MainProcess] Connected to amqp://guest:**@127.0.0.1:5672//
[2019-07-24 22:30:51,913: INFO/MainProcess] mingle: searching for neighbors
[2019-07-24 22:30:52,940: INFO/MainProcess] mingle: all alone
[2019-07-24 22:30:52,956: INFO/MainProcess] celery@ArtSobes-Home-Ubuntu-18 ready.
[2019-07-24 22:30:52,957: INFO/MainProcess] Received task: test.task[bc93cbd9-9a20-41cb-aaef-55c71245038e]  
[2019-07-24 22:30:53,060: WARNING/ForkPoolWorker-16] 1
[2019-07-24 22:30:53,083: INFO/MainProcess] Received task: test.task[bc93cbd9-9a20-41cb-aaef-55c71245038e]  ETA:[2019-07-24 19:30:54.062046+00:00] 
[2019-07-24 22:30:53,083: INFO/ForkPoolWorker-16] Task test.task[bc93cbd9-9a20-41cb-aaef-55c71245038e] retry: Retry in 1s
[2019-07-24 22:30:54,958: WARNING/ForkPoolWorker-2] None
[2019-07-24 22:30:54,979: INFO/MainProcess] Received task: test.task[bc93cbd9-9a20-41cb-aaef-55c71245038e]  ETA:[2019-07-24 19:30:55.959481+00:00] 
[2019-07-24 22:30:54,979: INFO/ForkPoolWorker-2] Task test.task[bc93cbd9-9a20-41cb-aaef-55c71245038e] retry: Retry in 1s
[2019-07-24 22:30:56,960: WARNING/ForkPoolWorker-4] None
[2019-07-24 22:30:56,982: INFO/MainProcess] Received task: test.task[bc93cbd9-9a20-41cb-aaef-55c71245038e]  ETA:[2019-07-24 19:30:57.962134+00:00] 
[2019-07-24 22:30:56,983: INFO/ForkPoolWorker-4] Task test.task[bc93cbd9-9a20-41cb-aaef-55c71245038e] retry: Retry in 1s
[2019-07-24 22:30:58,963: WARNING/ForkPoolWorker-6] None
</code></pre></div>