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.

17 lines
280 B
Python

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)