Update script LUA + conf x aggiornamento statistiche da RIOC
This commit is contained in:
@@ -4,11 +4,13 @@ local countInc = tonumber(ARGV[1]) or 0
|
||||
local totalMsInc = tonumber(ARGV[2]) or 0
|
||||
local newMax = tonumber(ARGV[3])
|
||||
local newMin = tonumber(ARGV[4])
|
||||
local sentinel = tonumber(ARGV[5])
|
||||
local noReply = tonumber(ARGV[5])
|
||||
local sentinel = tonumber(ARGV[6])
|
||||
|
||||
-- Incrementi base
|
||||
-- Incrementi
|
||||
redis.call('HINCRBY', key, 'count', countInc)
|
||||
redis.call('HINCRBYFLOAT', key, 'totalMs', totalMsInc)
|
||||
redis.call('HINCRBY', key, 'noReply', noReply)
|
||||
|
||||
-- MAX
|
||||
local currentMaxStr = redis.call('HGET', key, 'maxMs')
|
||||
|
||||
Reference in New Issue
Block a user