working workers in browser

This commit is contained in:
Barak Michener 2020-12-04 20:45:19 -08:00
parent 56116aea2a
commit 715f79c9c0
13 changed files with 343 additions and 28 deletions

View file

@ -42,7 +42,7 @@ func main() {
server := NewMemRaylet()
ray_rpc.RegisterRayletDriverServer(s, server)
ray_rpc.RegisterRayletWorkerConnectionServer(s, server)
go runHttp(fmt.Sprintf(":%d", *httpPort), *webRoot, server)
go runHttp(fmt.Sprintf("0.0.0.0:%d", *httpPort), *webRoot, server)
// Serve gRPC Server
fmt.Println("Serving gRPC on https://", addr)