tweak proxy scalability

This commit is contained in:
A.Unger
2021-03-09 22:58:18 +01:00
parent 5f9133386d
commit 90aea4f58d
4 changed files with 12 additions and 22 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ import (
"log"
"net"
"net/rpc"
"os"
cli "github.com/micro/cli/v2"
@@ -38,7 +39,7 @@ func RunCommand(cfg *config.Config) *cli.Command {
var reply int
if err := client.Call("Service.Start", "settings", &reply); err != nil {
if err := client.Call("Service.Start", os.Args[2], &reply); err != nil {
log.Fatal(err)
}
fmt.Println(reply)