diff --git a/Makefile b/Makefile index 4f49733..776da60 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,8 @@ build: go build -o bin/metrics examples/metrics/main.go go build -o bin/chatserver examples/chat/server/main.go go build -o bin/chatclient examples/chat/client/main.go - go build -o bin/cluster examples/cluster/member_1/main.go - go build -o bin/cluster examples/cluster/member_2/main.go + go build -o bin/cluster_member_1 examples/cluster/member_1/main.go + go build -o bin/cluster_member_2 examples/cluster/member_2/main.go bench: go run ./_bench/. diff --git a/cluster/cluster.go b/cluster/cluster.go index 0f169ea..efe12fe 100644 --- a/cluster/cluster.go +++ b/cluster/cluster.go @@ -10,7 +10,7 @@ import ( "github.com/google/uuid" ) -var requestTimeout = time.Millisecond * 50 +var requestTimeout = time.Second // Producer is a function that can produce an actor.Producer. // Pretty simple, but yet powerfull tool to construct receivers