use roundrobin from lua-resty-balancer library and refactor balancer.lua
This commit is contained in:
parent
c80365dcfa
commit
6cb28e059c
7 changed files with 126 additions and 129 deletions
File diff suppressed because one or more lines are too long
|
|
@ -189,7 +189,6 @@ func buildLuaSharedDictionaries(s interface{}, dynamicConfigurationEnabled bool,
|
|||
if dynamicConfigurationEnabled {
|
||||
out = append(out,
|
||||
"lua_shared_dict configuration_data 5M",
|
||||
"lua_shared_dict round_robin_state 1M",
|
||||
"lua_shared_dict locks 512k",
|
||||
"lua_shared_dict balancer_ewma 1M",
|
||||
"lua_shared_dict balancer_ewma_last_touched_at 1M",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue