We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
报错日志:
2025-03-29 12:25:31 ERR load function script failed: <string>:1: registry overflow stack traceback: [G]: in function 'concat' <string>:1: in main chunk [G]: ? RedisShake/internal/filter/function.go:105 -> (*Runtime).RunFunction() RedisShake/cmd/redis-shake/main.go:230 -> main.func1() runtime/asm_amd64.s:1650 -> goexit()
:1 意思是第一行报错? lua脚本片段如下:
function = """ shake.log("📢 ARGV : " .. table.concat(ARGV, " "))
求助~~
如果有错误日志或其他相关日志,请在这里提供。
If there are any error logs or other relevant logs, please provide them here.
请提供任何其他相关的信息,如配置文件、错误信息或截图等。
Please provide any additional information, such as configuration files, error messages, or screenshots.
The text was updated successfully, but these errors were encountered:
可能 ARGV 太大了,GPT 给了两个方案:
shake.log("📢 ARGV (first 5): " .. table.concat({unpack(ARGV, 1, 5)}, " "))
避免拼接过长字符串导致 registry overflow。
local ok, msg = pcall(function() shake.log("📢 ARGV : " .. table.concat(ARGV, ", ")) end) if not ok then shake.log("⚠️ Error: " .. msg) end
防止脚本崩溃时影响主程序执行。
Sorry, something went wrong.
No branches or pull requests
问题描述(Issue Description)
报错日志:
:1 意思是第一行报错? lua脚本片段如下:
求助~~
环境信息(Environment)
日志信息(Logs)
如果有错误日志或其他相关日志,请在这里提供。
If there are any error logs or other relevant logs, please provide them here.
其他信息(Additional Information)
请提供任何其他相关的信息,如配置文件、错误信息或截图等。
Please provide any additional information, such as configuration files, error messages, or screenshots.
The text was updated successfully, but these errors were encountered: