changeset 8234:8169770a4f2c stable

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
author Mads Kiilerich <mads@kiilerich.com>
date Tue, 11 Feb 2020 03:34:33 +0100
parents 34846d33498d
children 85135d4f9fef
files development.ini kallithea/lib/paster_commands/template.ini.mako
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/development.ini	Mon Feb 10 15:35:05 2020 +0100
+++ b/development.ini	Tue Feb 11 03:34:33 2020 +0100
@@ -259,7 +259,7 @@
 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
--- a/kallithea/lib/paster_commands/template.ini.mako	Mon Feb 10 15:35:05 2020 +0100
+++ b/kallithea/lib/paster_commands/template.ini.mako	Tue Feb 11 03:34:33 2020 +0100
@@ -365,7 +365,7 @@
 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