Commit 2163c39b authored by Samuel GAIST's avatar Samuel GAIST

[worker] Import simplejson as json to make it easy to swap

parent b669095d
Pipeline #28271 passed with stage
in 15 minutes and 33 seconds
...@@ -46,7 +46,7 @@ import logging ...@@ -46,7 +46,7 @@ import logging
import zmq import zmq
import socket import socket
import simplejson import simplejson as json
from .utils import send_multipart from .utils import send_multipart
...@@ -151,7 +151,7 @@ class WorkerController(object): ...@@ -151,7 +151,7 @@ class WorkerController(object):
worker, worker,
WorkerController.EXECUTE, WorkerController.EXECUTE,
b"%d" % job_id, b"%d" % job_id,
simplejson.dumps(configuration), json.dumps(configuration),
] ]
send_multipart(self.socket, parts) send_multipart(self.socket, parts)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment