We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d89c11 commit 6f128d9Copy full SHA for 6f128d9
1 file changed
app.py
@@ -121,6 +121,7 @@ def wrapper(*args, **kwargs):
121
122
# Build response object
123
response_obj = {
124
+ "endpoint": response[1],
125
"code": response[2],
126
"id": data.get("id"),
127
"job_id": job_id,
@@ -131,6 +132,7 @@ def wrapper(*args, **kwargs):
131
132
"total_time": round(run_time, 3),
133
"pid": pid,
134
"queue_id": execution_name,
135
+ "queue_length": 0,
136
"build_number": BUILD_NUMBER
137
}
138
@@ -239,8 +241,9 @@ def wrapper(*args, **kwargs):
239
241
240
242
response = f(job_id=job_id, data=data, *args, **kwargs)
243
run_time = time.time() - start_time
-
244
+
245
246
247
248
249
0 commit comments