We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2ccb265 commit 5cabe83Copy full SHA for 5cabe83
src/isolate/server/server.py
@@ -731,6 +731,11 @@ def main(argv: list[str] | None = None) -> None:
731
if controller_auth_key := os.getenv("ISOLATE_CONTROLLER_AUTH_KEY"):
732
# Set an interceptor to only accept requests with the correct auth key
733
interceptors.append(ControllerAuthInterceptor(controller_auth_key))
734
+ else:
735
+ print(
736
+ "[WARN] ISOLATE_CONTROLLER_AUTH_KEY is not set, all requests will be "
737
+ "accepted without authentication."
738
+ )
739
740
server = grpc.server(
741
futures.ThreadPoolExecutor(max_workers=options.num_workers),
0 commit comments