go-redis/redis_rate

dose lua script length limit?

Opened this issue · 0 comments

I got error following:
ERR Protocol error: expected '$', got 'n'
when I used Allow function
res, err := limiter.Allow(client.Ctx, key, limit),
It will be OK while I remove all of comments in the lua script, so is there limitation of script length ?