- create a new redis .conf file
$ cp /etc/redis.conf /etc/redis-xxx.conf- edit /etc/redis-xxx.conf, illustrated as below
...| import numpy as np | |
| class RingBuffer(np.ndarray): | |
| 'A multidimensional ring buffer.' | |
| def __new__(cls, input_array): | |
| obj = np.asarray(input_array).view(cls) | |
| return obj |
$ cp /etc/redis.conf /etc/redis-xxx.conf...