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

How to use ltrim method for list #243

Open
vaseniu opened this issue Dec 14, 2021 · 2 comments
Open

How to use ltrim method for list #243

vaseniu opened this issue Dec 14, 2021 · 2 comments

Comments

@vaseniu
Copy link

vaseniu commented Dec 14, 2021

No description provided.

@vaseniu
Copy link
Author

vaseniu commented Dec 14, 2021

red:eval("return redis.call('ltrim', PAGE_HASH_LIST, 0, 1)", 0)

attempt to call method 'eval' (a nil value)

openresty/1.15.8.1

@zhuizhuhaomeng
Copy link
Contributor

got the following error, maybe you need to update you lua-resty-redis or upgrade openresty to 1.19.9.1

Error running script (call to f_e35dca329133b2e0872bde2ae06a1003e4642095): @enable_strict_lua:15: user_script:1: Script attempted to access nonexistent global variable 'PAGE_HASH_LIST'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants