Add local settings to processing
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
import msgpack
|
||||
from django.core.management.base import BaseCommand, CommandError
|
||||
from redis import StrictRedis
|
||||
from core.util import logs
|
||||
|
||||
from core.lib.rules import process_rules
|
||||
import msgpack
|
||||
from core.util import logs
|
||||
|
||||
log = logs.get_logger("processing")
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
def handle(self, *args, **options):
|
||||
r = StrictRedis(unix_socket_path="/var/run/socks/redis.sock", db=0)
|
||||
|
||||
Reference in New Issue
Block a user