seomoz / qless-core

Core Lua Scripts for qless
MIT License
85 stars 33 forks source link

Unable to use the library #65

Open nbhatti opened 7 years ago

nbhatti commented 7 years ago

I am trying to use qless-core local queue = require "qless" But right after that, I get the following error, ./qless.lua:2009: attempt to get length of global 'KEYS' (a nil value) It looks like I am not initializing the library correctly? Is there any other way to initialize?

Thanks.

dlecocq commented 7 years ago

This library is for use inside the context of redis, but not as a lua client to qless -- is that the way you're trying to use it?