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

Update lib dependencies and add some small fixes #189

Closed
wants to merge 13 commits into from

Conversation

rsafonseca
Copy link
Collaborator

No description provided.

@rsafonseca rsafonseca changed the title Update lib dependencies and add some small fixes WIP: Update lib dependencies and add some small fixes Apr 30, 2021
@coveralls
Copy link

coveralls commented Apr 30, 2021

Pull Request Test Coverage Report for Build 1449865424

  • 6 of 24 (25.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.1%) to 57.158%

Changes Missing Coverage Covered Lines Changed/Added Lines %
service/handler.go 4 6 66.67%
cluster/etcd_service_discovery.go 0 7 0.0%
cluster/nats_rpc_common.go 0 9 0.0%
Totals Coverage Status
Change from base Build 1263531920: -0.1%
Covered Lines: 3857
Relevant Lines: 6748

💛 - Coveralls

@luizmiranda7 luizmiranda7 changed the base branch from master to v1 September 1, 2021 17:09
@rsafonseca rsafonseca changed the title WIP: Update lib dependencies and add some small fixes Update lib dependencies and add some small fixes Nov 11, 2021
Comment on lines +109 to +110
sd.etcdDialKeepAliveTime = sd.config.GetDuration("pitaya.cluster.sd.etcd.dialtimeout")
sd.etcdDialKeepAliveTimeout = sd.config.GetDuration("pitaya.cluster.sd.etcd.dialtimeout")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should be using pitaya.cluster.sd.etcd.dialkeepalivetime and pitaya.cluster.sd.etcd.dialkeepalivetimeout here, like in config/config.go, right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep, this is just adding to all locations this new configuration option, it's basically a built-in mechanism in etcd client to check if the connection is alive https://github.com/etcd-io/etcd/blob/7ea5ee8b5dcdceb5a26a5c1dfe7ca290000a007b/client/v3/config.go#L39
This isn't required for the fixes, it was just adding some extra configurability

@felipejfc felipejfc closed this Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants