You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
from redis import StrictRedis
|
|
|
|
import util
|
|
|
|
log = util.get_logger("db")
|
|
|
|
|
|
def store_message(msg):
|
|
"""
|
|
Store a message into Manticore
|
|
:param msg: dict
|
|
"""
|
|
log.debug(f"store_message() {msg}")
|
|
|
|
|
|
r = StrictRedis(unix_socket_path="/var/run/redis/redis.sock", db=0)
|