Skip to content

Commit e2500d2

Browse files
authored
Feat/release (#93)
* feat: optimize conf * feat: release 1.2.2
1 parent 6104675 commit e2500d2

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.1
1+
1.2.2

examples/iclm/service/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func main() {
102102
methods := pflag.String("methods", "", "method name, support echo")
103103
printmessage = pflag.Bool("printmessage", false, "whether print message out")
104104
nostdin = pflag.Bool("nostdin", false, "nostdin mode, no stdin will be accepted")
105-
buffersize := pflag.Int("buffer", 8192, "buffer size set for service")
105+
buffersize := pflag.Int("buffer", 1024, "buffer size set for service")
106106
stats := pflag.Bool("stats", false, "print statistics or not")
107107

108108
pflag.Parse()

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/nats-io/nats.go v1.33.1
1313
github.com/nsqio/go-nsq v1.1.0
1414
github.com/rabbitmq/amqp091-go v1.9.0
15-
github.com/singchia/geminio v1.2.0
15+
github.com/singchia/geminio v1.2.2-rc.2
1616
github.com/singchia/go-timer/v2 v2.2.1
1717
github.com/singchia/joy4 v0.0.0-20240621074108-53a2b0132ec6
1818
github.com/soheilhy/cmux v0.1.5

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ github.com/redis/go-redis/v9 v9.5.5 h1:51VEyMF8eOO+NUHFm8fpg+IOc1xFuFOhxs3R+kPu1
146146
github.com/redis/go-redis/v9 v9.5.5/go.mod h1:hdY0cQFCN4fnSYT6TkisLufl/4W5UIXyv0b/CLO2V2M=
147147
github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ=
148148
github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog=
149-
github.com/singchia/geminio v1.2.0 h1:Bxi6b2Av9GAvGM+M2VQ8fIR6E6MRL1q9/pumr6FXMKw=
150-
github.com/singchia/geminio v1.2.0/go.mod h1:b6bld5o0aofg/kuAdc5uAnaTJYvd6YaJxYDtH9b+NzY=
149+
github.com/singchia/geminio v1.2.2-rc.2 h1:3cAb2GrgxCp1tQwy0ZwLR2b0HsjwY4NfAMO28QEQm+M=
150+
github.com/singchia/geminio v1.2.2-rc.2/go.mod h1:b6bld5o0aofg/kuAdc5uAnaTJYvd6YaJxYDtH9b+NzY=
151151
github.com/singchia/go-timer/v2 v2.0.3/go.mod h1:PgkEQc6io8slCUiT5rHzWKU4/P2HXHWk3WWfijZXAf4=
152152
github.com/singchia/go-timer/v2 v2.2.1 h1:gJucmL99fkuNzGk2AfNPFpa1X3/4+aGO21KkjFAG624=
153153
github.com/singchia/go-timer/v2 v2.2.1/go.mod h1:PgkEQc6io8slCUiT5rHzWKU4/P2HXHWk3WWfijZXAf4=

pkg/frontier/edgebound/edge_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func (em *edgeManager) handleConn(conn net.Conn) error {
146146
// stream handler
147147
opt.SetAcceptStreamFunc(em.acceptStream)
148148
opt.SetClosedStreamFunc(em.closedStream)
149-
opt.SetBufferSize(8192, 8192)
149+
opt.SetBufferSize(512, 512)
150150
end, err := server.NewEndWithConn(conn, opt)
151151
if err != nil {
152152
klog.Warningf("edge manager geminio server new end err: %s, addr: %s", err, conn.RemoteAddr())

pkg/frontier/servicebound/service_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func (sm *serviceManager) handleConn(conn net.Conn) error {
115115
// stream handler
116116
opt.SetAcceptStreamFunc(sm.acceptStream)
117117
opt.SetClosedStreamFunc(sm.closedStream)
118-
opt.SetBufferSize(8192, 8192)
118+
opt.SetBufferSize(512, 512)
119119
end, err := server.NewEndWithConn(conn, opt)
120120
if err != nil {
121121
klog.Errorf("service manager geminio server new end err: %s", err)

0 commit comments

Comments
 (0)