#!lua name=bearcat_rate_limiting local function checkin_time(keys, args) local return_time = args[1] local true_remaining = args[2] local hash = keys[1] return redis.call('HGET', hash, '_last_modified_') end redis.register_function('my_hset', my_hset)