Changeset - 8169770a4f2c
[Not reviewed]
stable
0 2 0
Mads Kiilerich (kiilerix) - 5 years ago 2020-02-11 02:34:33
mads@kiilerich.com
Grafted from: d94101ed182c
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
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general) First comment
development.ini
Show inline comments
 
@@ -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
kallithea/lib/paster_commands/template.ini.mako
Show inline comments
 
@@ -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
0 comments (0 inline, 0 general) First comment
You need to be logged in to comment. Login now