princhman commited on
Commit
458e97c
·
verified ·
1 Parent(s): 5e981a8

update the key to request_id

Browse files
Files changed (1) hide show
  1. worker.py +1 -1
worker.py CHANGED
@@ -97,7 +97,7 @@ class RabbitMQWorker:
97
  try:
98
  context = {
99
  "key": files["key"],
100
- "body": self.processor.process(files["url"], files["key"])
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: