File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
model-engine/model_engine_server/inference/forwarding Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -291,19 +291,11 @@ def add_sync_or_stream_routes(app: FastAPI):
291291 sync_routes_to_add .update (config .get ("sync" , {}).get ("extra_routes" , []))
292292 sync_routes_to_add .update (config .get ("sync" , {}).get ("routes" , []))
293293
294- # predict_route = config.get("sync", {}).get("predict_route", None)
295- # if predict_route:
296- # sync_routes_to_add.add(predict_route)
297-
298294 # Gather all stream routes from extra_routes and routes fields
299295 stream_routes_to_add = set ()
300296 stream_routes_to_add .update (config .get ("stream" , {}).get ("extra_routes" , []))
301297 stream_routes_to_add .update (config .get ("stream" , {}).get ("routes" , []))
302298
303- # stream_predict_route = config.get("stream", {}).get("predict_route", None)
304- # if stream_predict_route:
305- # stream_routes_to_add.add(stream_predict_route)
306-
307299 # Load forwarders for all routes
308300 for route in sync_routes_to_add :
309301 sync_forwarders [route ] = load_forwarder (route )
You can’t perform that action at this time.
0 commit comments