EVAL "local keys = redis.call('keys', ARGV[1]) \n for i=1,#keys,5000 do \n redis.call('del', unpack(keys, i, math.min(i+4999, #keys))) \n end \n return keys" 0 *
[......]
Redis批量按前缀删除key
Leave a reply
EVAL "local keys = redis.call('keys', ARGV[1]) \n for i=1,#keys,5000 do \n redis.call('del', unpack(keys, i, math.min(i+4999, #keys))) \n end \n return keys" 0 *
[......]
https://github.com/nodesource/distributions
可以参考上面的项目,哪个版本都能装
以Ubuntu安装18.X为例:
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
[......]
www.md5-checksum.com md5-checksum.com {
reverse_proxy 127.0.0.1:3000 {
header_up -Origin
}
}
[......]
format_datetime(current_date, 'YYYY-MM-dd'),
format_datetime(DATE_ADD('day', -1, current_date), 'YYYY-MM-dd')
format_datetime(DATE_ADD('day', -2, current_date), 'YYYY-MM-dd')
[......]