Sfoglia il codice sorgente

typo in 4.0 docs, Json is now the default serializer (#3594)

Yuhannaa 8 anni fa
parent
commit
be299231dd
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      docs/userguide/calling.rst

+ 2 - 2
docs/userguide/calling.rst

@@ -413,11 +413,11 @@ Data transferred between clients and workers needs to be serialized,
 so every message in Celery has a ``content_type`` header that
 describes the serialization method used to encode it.
 
-The default serializer is :mod:`pickle`, but you can
+The default serializer is `JSON`, but you can
 change this using the :setting:`task_serializer` setting,
 or for each individual task, or even per message.
 
-There's built-in support for :mod:`pickle`, `JSON`, `YAML`
+There's built-in support for `JSON`, :mod:`pickle`, `YAML`
 and ``msgpack``, and you can also add your own custom serializers by registering
 them into the Kombu serializer registry