Skip to content

Commit

Permalink
feat: update base_server logging
Browse files Browse the repository at this point in the history
  • Loading branch information
keivanipchihagh committed Mar 21, 2024
1 parent e2e3ff3 commit 66a4d99
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/rpc/base_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,14 @@ def __init__(
self.health_servicer: health.HealthServicer
self._configure_health_server(healthcheck_n_workers)

logger.debug(f"RPC initialized with {n_workers} worker(s).")


def start(self) -> None:
"""
Starts the server in blocking mode.
"""
logger.debug(f"Listening on '{self.target}'")
logger.debug(f"RPC Listening on '{self.target}'")
self.server.start()
self.server.wait_for_termination()

Expand Down

0 comments on commit 66a4d99

Please sign in to comment.