# HG changeset patch # User Mads Kiilerich # Date 2020-02-11 03:34:33 # Node ID 8169770a4f2c967d4c41aca7c7fb31e90fbec989 # Parent 34846d33498da856fc6d0a175a858bb452d49a14 ini: fix spelling of the CELERY_TASK_SERIALIZER It has "always" been wrong, and we have thus been using the default of "pickle" - not "json" as we thought. I doubt this change has any immediate visible impact. I guess it only means that it will use json for results instead of pickle. That might be more stable and debuggable. Note: celery_config will uppercase the config settings and replace '.' with '_', so 'celery.result.serializer' turns into 'CELERY_TASK_SERIALIZER'. CELERY_TASK_SERIALIZER is described on https://docs.celeryproject.org/en/3.1/configuration.html#celery-result-serializer https://docs.celeryproject.org/en/3.1/userguide/calling.html#serializers diff --git a/development.ini b/development.ini --- a/development.ini +++ b/development.ini @@ -259,7 +259,7 @@ celery.imports = kallithea.lib.celerylib celery.accept.content = pickle celery.result.backend = amqp celery.result.dburi = amqp:// -celery.result.serialier = json +celery.result.serializer = json #celery.send.task.error.emails = true #celery.amqp.task.result.expires = 18000 diff --git a/kallithea/lib/paster_commands/template.ini.mako b/kallithea/lib/paster_commands/template.ini.mako --- a/kallithea/lib/paster_commands/template.ini.mako +++ b/kallithea/lib/paster_commands/template.ini.mako @@ -365,7 +365,7 @@ celery.imports = kallithea.lib.celerylib celery.accept.content = pickle celery.result.backend = amqp celery.result.dburi = amqp:// -celery.result.serialier = json +celery.result.serializer = json #celery.send.task.error.emails = true #celery.amqp.task.result.expires = 18000