Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
zr committed Aug 28, 2018
1 parent 8278093 commit 8289af9
Show file tree
Hide file tree
Showing 12 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions configs/config.go
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package configs
Binary file modified connector-service/connector-service
Binary file not shown.
2 changes: 1 addition & 1 deletion connector-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func main() {
config.Set("pitaya.cluster.sd.etcd.endpoints", ehost)
config.Set("pitaya.cluster.rpc.server.nats.connect", nhost)
config.Set("pitaya.cluster.rpc.client.nats.connect", nhost)

config.Set("pitaya.metrics.prometheus.enabled", true)
config.Set("pitaya.handler.messages.compression", false)

pitaya.Configure(*isFrontend, *svType, pitaya.Cluster, map[string]string{}, config)
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# docker-compose.yaml
# 同样遵循严格的缩进
version: '3.1'
version: '3.5'

services:
web-service:
Expand Down
Binary file modified lobby-service/lobby-service
Binary file not shown.
2 changes: 1 addition & 1 deletion lobby-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func main() {
config.Set("pitaya.cluster.sd.etcd.endpoints", ehost)
config.Set("pitaya.cluster.rpc.server.nats.connect", nhost)
config.Set("pitaya.cluster.rpc.client.nats.connect", nhost)

config.Set("pitaya.metrics.prometheus.enabled", true)
config.Set("pitaya.handler.messages.compression", false)

pitaya.Configure(*isFrontend, *svType, pitaya.Cluster, map[string]string{}, config)
Expand Down
2 changes: 1 addition & 1 deletion mjgame-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func main() {
config.Set("pitaya.cluster.sd.etcd.endpoints", ehost)
config.Set("pitaya.cluster.rpc.server.nats.connect", nhost)
config.Set("pitaya.cluster.rpc.client.nats.connect", nhost)

config.Set("pitaya.metrics.prometheus.enabled", true)
config.Set("pitaya.handler.messages.compression", false)

pitaya.Configure(*isFrontend, *svType, pitaya.Cluster, map[string]string{}, config)
Expand Down
Binary file modified mjgame-service/mjgame-service
Binary file not shown.
2 changes: 1 addition & 1 deletion nngame-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func main() {
config.Set("pitaya.cluster.sd.etcd.endpoints", ehost)
config.Set("pitaya.cluster.rpc.server.nats.connect", nhost)
config.Set("pitaya.cluster.rpc.client.nats.connect", nhost)

config.Set("pitaya.metrics.prometheus.enabled", true)
config.Set("pitaya.handler.messages.compression", false)

pitaya.Configure(*isFrontend, *svType, pitaya.Cluster, map[string]string{}, config)
Expand Down
Binary file modified nngame-service/nngame-service
Binary file not shown.
2 changes: 1 addition & 1 deletion web-service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func main() {
config.Set("pitaya.cluster.sd.etcd.endpoints", ehost)
config.Set("pitaya.cluster.rpc.server.nats.connect", nhost)
config.Set("pitaya.cluster.rpc.client.nats.connect", nhost)

config.Set("pitaya.metrics.prometheus.enabled", true)
config.Set("pitaya.handler.messages.compression", false)

pitaya.Configure(*isFrontend, *svType, pitaya.Cluster, map[string]string{}, config)
Expand Down
Binary file modified web-service/web-service
Binary file not shown.

0 comments on commit 8289af9

Please sign in to comment.