Skip to content

Commit 46397a0

Browse files
author
chenjie
committed
update
1 parent a044af0 commit 46397a0

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

codegen/tml/dao/template_dao.go

-6
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ func getCGrpcClientConfig() *cgrpc.ClientConfig {
7070
ConnectTimeout: time.Duration(gc.ConnectTimeout),
7171
GlobalTimeout: time.Duration(gc.GlobalTimeout),
7272
HeartPorbe: time.Duration(gc.HeartProbe),
73-
SocketRBuf: 2048,
74-
SocketWBuf: 2048,
7573
MaxMsgLen: 65535,
7674
Discover: cgrpcDNS,
7775
}
@@ -112,8 +110,6 @@ func getCrpcClientConfig() *crpc.ClientConfig {
112110
ConnectTimeout: time.Duration(rc.ConnectTimeout),
113111
GlobalTimeout: time.Duration(rc.GlobalTimeout),
114112
HeartPorbe: time.Duration(rc.HeartProbe),
115-
SocketRBuf: 2048,
116-
SocketWBuf: 2048,
117113
MaxMsgLen: 65535,
118114
Discover: crpcDNS,
119115
}
@@ -156,8 +152,6 @@ func getWebClientConfig() *web.ClientConfig {
156152
IdleTimeout: time.Duration(wc.IdleTimeout),
157153
HeartProbe: time.Duration(wc.HeartProbe),
158154
MaxHeader: 1024,
159-
SocketRBuf: 2048,
160-
SocketWBuf: 2048,
161155
}
162156
}`
163157

codegen/tml/gomod/template_gomod.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ const text = `module {{.}}
1111
go 1.17
1212
1313
require (
14-
github.com/chenjie199234/Config v0.0.32
15-
github.com/chenjie199234/Corelib v0.0.46
14+
github.com/chenjie199234/Config v0.0.33
15+
github.com/chenjie199234/Corelib v0.0.47
1616
github.com/fsnotify/fsnotify v1.5.1
1717
github.com/go-sql-driver/mysql v1.6.0
18-
github.com/segmentio/kafka-go v0.4.25
18+
github.com/segmentio/kafka-go v0.4.27
1919
go.mongodb.org/mongo-driver v1.8.2
2020
google.golang.org/protobuf v1.27.1
2121
)`

0 commit comments

Comments
 (0)