Move user metadata info into redis
This commit is contained in:
6
main.py
6
main.py
@@ -1,8 +1,10 @@
|
||||
from json import load, dump, loads
|
||||
|
||||
import redis
|
||||
from utils.loaders.command_loader import loadCommands
|
||||
from utils.logging.log import *
|
||||
|
||||
r = redis.StrictRedis(unix_socket_path='/tmp/redis.sock', db=0)
|
||||
|
||||
configPath = "conf/"
|
||||
certPath = "cert/"
|
||||
|
||||
@@ -11,7 +13,7 @@ filemap = {
|
||||
"keyconf": ["keyword.json", "keyword lists"],
|
||||
"pool": ["pool.json", "pool"],
|
||||
"help": ["help.json", "command help"],
|
||||
"wholist": ["wholist.json", "WHO lists"],
|
||||
# "wholist": ["wholist.json", "WHO lists"],
|
||||
"counters": ["counters.json", "counters file"],
|
||||
"masterbuf": ["masterbuf.json", "master buffer"],
|
||||
"monitor": ["monitor.json", "monitoring database"],
|
||||
|
||||
Reference in New Issue
Block a user