Skip to content

Commit

Permalink
modified: client/core/kite_client_manager.go
Browse files Browse the repository at this point in the history
	modified:   kiteq.go
  • Loading branch information
blackbeans committed Mar 26, 2015
1 parent c5aa733 commit 6ec40c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/core/kite_client_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func NewKiteClientManager(zkAddr, groupId, secretKey string, listen listener.ILi

rc := protocol.NewRemotingConfig(
"kiteclient-"+groupId,
1000, 16*1024,
50, 16*1024,
16*1024, 10000, 10000,
10*time.Second, 160000)

Expand Down
4 changes: 2 additions & 2 deletions kiteq.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ func main() {

rc := protocol.NewRemotingConfig(
"KiteQ-"+*bindHost,
1000, 16*1024,
2000, 16*1024,
16*1024, 10000, 10000,
10*time.Second, 160000)

kc := server.NewKiteQConfig(*bindHost, *zkhost, 1*time.Second, 1000, 5*time.Second, strings.Split(*topics, ","), *db, rc)
kc := server.NewKiteQConfig(*bindHost, *zkhost, 1*time.Second, 5000, 5*time.Second, strings.Split(*topics, ","), *db, rc)

qserver := server.NewKiteQServer(kc)
qserver.Start()
Expand Down

0 comments on commit 6ec40c1

Please sign in to comment.