-
-
Notifications
You must be signed in to change notification settings - Fork 247
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
lapis and lua-resty-balancer attempt to index local 'app_cls' (a userdata value) #677
Comments
@leafo please help me!!! |
does your app work without using that library? what are you passing into the |
I have ab test requirement If when I have 10 different versions of the web to buy the page style I want to use the lua-resty-balancer module to configure the access ratio for different pages. Each page has a different id, and each id has a different weight. When nginx receives a user request, it automatically assigns a page id proportionally. The following code is executed by me in the init_by_lua phase
II want to get the my_rr_up module in the controller layer
When running the request, the following error is reported.
|
lapis and resty.chash module error
The following is the run in the init_by_lua stage
When I use it on the lapis controller
local chash_up = package.loaded.my_chash_up
When running the request, the following error is reported.
The text was updated successfully, but these errors were encountered: