Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

feat(balancer) new consistent hashing algorithm #97

Merged
merged 1 commit into from
Sep 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 2 additions & 0 deletions lua-resty-dns-client-5.0.1-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dependencies = {
"lrandom",
"lua-resty-timer < 1.0",
"binaryheap >= 0.4",
"luaxxhash >= 1.0",
}
build = {
type = "builtin",
Expand All @@ -30,5 +31,6 @@ build = {
["resty.dns.balancer.ring"] = "src/resty/dns/balancer/ring.lua",
["resty.dns.balancer.least_connections"] = "src/resty/dns/balancer/least_connections.lua",
["resty.dns.balancer.handle"] = "src/resty/dns/balancer/handle.lua",
["resty.dns.balancer.consistent_hashing"] = "src/resty/dns/balancer/consistent_hashing.lua",
},
}