update the key to request_id
Browse files
worker.py
CHANGED
@@ -97,7 +97,7 @@ class RabbitMQWorker:
|
|
97 |
try:
|
98 |
context = {
|
99 |
"key": files["key"],
|
100 |
-
"body": self.processor.process(files["url"],
|
101 |
}
|
102 |
contexts.append(context)
|
103 |
except Exception as e:
|
|
|
97 |
try:
|
98 |
context = {
|
99 |
"key": files["key"],
|
100 |
+
"body": self.processor.process(files["url"], properties.headers["request_id"])
|
101 |
}
|
102 |
contexts.append(context)
|
103 |
except Exception as e:
|