summaryrefslogtreecommitdiffstats
path: root/src/plugins/lua/fann_redis.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/lua/fann_redis.lua')
-rw-r--r--src/plugins/lua/fann_redis.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/lua/fann_redis.lua b/src/plugins/lua/fann_redis.lua
index d75d1ec1c..5b67a0b58 100644
--- a/src/plugins/lua/fann_redis.lua
+++ b/src/plugins/lua/fann_redis.lua
@@ -73,9 +73,6 @@ local redis_can_train_sha = nil
-- key2 - local version
-- returns nil or bulk string if new ANN can be loaded
local redis_lua_script_maybe_load = [[
- local locked = redis.call('GET', KEYS[1] .. '_locked')
- if locked then return false end
-
local ver = 0
local ret = redis.call('GET', KEYS[1] .. '_version')
if ret then ver = tonumber(ret) end