Skip to content

Commit

Permalink
fix: Format to trigger CI
Browse files Browse the repository at this point in the history
Signed-off-by: Ce Gao <gaoce@caicloud.io>
  • Loading branch information
gaocegege committed Sep 26, 2019
1 parent a379cfa commit c09b0a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/suggestion/grid/v1alpha2/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
_ONE_DAY_IN_SECONDS = 60 * 60 * 24
DEFAULT_PORT = "0.0.0.0:6789"


def serve():
server = grpc.server(futures.ThreadPoolExecutor(max_workers=10))
api_pb2_grpc.add_SuggestionServicer_to_server(GridService(), server)
Expand All @@ -19,5 +20,6 @@ def serve():
except KeyboardInterrupt:
server.stop(0)


if __name__ == "__main__":
serve()

0 comments on commit c09b0a4

Please sign in to comment.