From fb66d6b191e1f7473da56eb643207addb05d5c49 Mon Sep 17 00:00:00 2001 From: Matthias Schaub Date: Mon, 16 Oct 2023 09:33:46 +0200 Subject: [PATCH] fix(celery): use pickle not json as result serializer --- sketch_map_tool/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sketch_map_tool/__init__.py b/sketch_map_tool/__init__.py index 472ad2c3..0f089acf 100644 --- a/sketch_map_tool/__init__.py +++ b/sketch_map_tool/__init__.py @@ -23,7 +23,7 @@ def make_flask() -> Flask: "task_serializer": "pickle", "task_track_started": True, # report ‘started’ status worker executes task "task_send_sent_event": True, - "result_serializer": "json", + "result_serializer": "pickle", "result_extended": True, # save result attributes to backend (e.g. name) "result_compression": "gzip", "result_chord_join_timeout": 10.0, # default: 3.0 seconds