Open liulei18 opened 5 years ago
opm --install-dir=./ get zhangbao0325/orangelib
2 Install dependencies by luarocks install lrandom
luarocks install lrandom
into README.md @zhangbao0325 I feel sorry for causing your confusion and trouble , and I have confirmed this problem . So I update zhangbao0325/orangelib again and modified the README.md. Thank you again and wait for your more suggestions.
Version
v0.7.0
Description
to archive dynamic upstream
Plugin
balancer plugin & divide plugin
Configuration
the configuration as same as 安装和使用文档可参考Orange Balancer 安装及使用 ,this is the guide doc in orange/orange/plugins/balancer/README.md
nginx.conf
balancer
divide
Execute
Error Log
Solution
I install third-party packages as required according to README.md like this
i read the source code in lualib/resty/dns/balancer.lua
According to the error log, i find the reason. according to above order installs package has a problem in lualib/resty/random.lua, no new() function in random.lua
where can i find correct random.lua file,can you give me some suggestion? hope for your answer. thanks @zhangbao0325 @zhjwpku