Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: heartbeat's timeout will modify consumer's timeout #1532

Merged
merged 25 commits into from Oct 25, 2021
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a85b65b
Merge branch '3.0' into develop
AlexStocks May 9, 2021
9e38afe
Merge branch '3.0' into develop
AlexStocks May 10, 2021
f0ad730
Merge branch '3.0' into develop
AlexStocks May 10, 2021
4cb6e44
improve etcd version and change create to put (#1203)
ztelur May 15, 2021
56d9d71
Merge branch '3.0' into develop
AlexStocks May 15, 2021
cc74aa5
Merge branch '3.0' into develop
AlexStocks May 18, 2021
40082d4
Merge branch '3.0' into develop
AlexStocks May 21, 2021
727e346
Merge branch '3.0' into develop
AlexStocks Jun 20, 2021
268e072
Merge branch '3.0'
LaurenceLiZhixin Jun 21, 2021
42ef7fe
fix: CONTRIBUTING.md url error. (#1303)
stulzq Jul 5, 2021
a109967
add lock (#1304)
tylitianrui Jul 5, 2021
808862e
Revert "add lock (#1304)" (#1329)
LaurenceLiZhixin Jul 18, 2021
3da71a1
Merge branch '3.0' into develop
AlexStocks Aug 18, 2021
7802cca
Merge branch 'develop'
AlexStocks Aug 18, 2021
343ba6a
Merge branch 'master' of https://github.com/apache/dubbo-go
AlexStocks Aug 18, 2021
8b0191b
build(deps): bump github.com/dubbogo/gost from 1.11.14 to 1.11.16 (#1…
dependabot[bot] Aug 20, 2021
768c2d8
build(deps): bump google.golang.org/protobuf from 1.26.0 to 1.27.1 (#…
dependabot[bot] Aug 20, 2021
6377396
build(deps): bump go.etcd.io/etcd/client/v3 from 3.5.0-alpha.0 to 3.5…
dependabot[bot] Aug 20, 2021
d904ed4
merge 3.0
AlexStocks Aug 20, 2021
d32db09
Merge branch 'develop'
AlexStocks Aug 20, 2021
d49f62e
Merge branch '3.0' into develop
Sep 24, 2021
481eb47
Merge branch 'develop'
Sep 24, 2021
efe12a0
Merge remote-tracking branch 'apache/3.0' into develop
fangyincheng Sep 27, 2021
bfca099
Merge remote-tracking branch 'apache/develop'
fangyincheng Sep 27, 2021
a921ba5
Fix: heartbeat's timeout will modify consumer's timeout
Lvnszn Oct 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion remoting/getty/listener.go
Expand Up @@ -373,7 +373,7 @@ func heartbeat(session getty.Session, timeout time.Duration, callBack func(err e
req.Event = true
resp := remoting.NewPendingResponse(req.ID)
remoting.AddPendingResponse(resp)
totalLen, sendLen, err := session.WritePkg(req, 3*time.Second)
totalLen, sendLen, err := session.WritePkg(req, -1)
if sendLen != 0 && totalLen != sendLen {
logger.Warnf("start to close the session at heartbeat because %d of %d bytes data is sent success. err:%+v", sendLen, totalLen, err)
go session.Close()
Expand Down