Skip to content

Commit

Permalink
Fixing lint
Browse files Browse the repository at this point in the history
  • Loading branch information
taavi-primer authored and seldondev committed Apr 30, 2020
1 parent a0af358 commit 76fd1d4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions python/seldon_core/microservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,12 +348,16 @@ def rest_prediction_server():
logger.info("Set JAEGER_EXTRA_TAGS %s", jaeger_extra_tags)
tracing = FlaskTracing(tracer, True, app, jaeger_extra_tags)

app.run(host="0.0.0.0", port=port, threaded=False if args.single_threaded else True)
app.run(
host="0.0.0.0",
port=port,
threaded=False if args.single_threaded else True,
)

logger.info(
"REST gunicorn microservice running on port %i single-threaded=%s",
port,
args.single_threaded
args.single_threaded,
)
server1_func = rest_prediction_server

Expand Down

0 comments on commit 76fd1d4

Please sign in to comment.