# Path: app.py



import os
import sys
    import threading
from uuid import uuid4
from pickle import loads, dumps
from redis import Redis
from flask import current_app
from flask import session, abort, jsonify
from app import app
# -*- coding: utf-8 -*-
"""
    utilities.rq
    ~~~~~~~~~~~~

    Basic Message Queue with Redis
    http://flask.pocoo.org/snippets/73/
"""

sys.path.insert(0, os.path.dirname(os.path.abspath(os.path.dirname(__file__))))




# Connecting to Redis
redis = Redis()


# The Configuration

# Path: app.py



# Path: utilities/rq.py
import os
import sys
    import threading
from uuid import uuid4
from pickle import loads, dumps
from redis import Redis
from flask import current_app
from flask import session, abort, jsonify
from app import app

# -*- coding: utf-8 -*-
"""
    utilities.rq
    ~~~~~~~~~~~~

    Basic Message Queue with Redis
    http://flask.pocoo.org/snippets/73/
"""

sys.path.insert(0, os.path.dirname(os.path.abspath(os.path.dirname(__file__))))




# Connecting to Redis
redis = Redis()


# The Configuration

app.config['REDIS_QUEUE_KEY'] = 'my_queue'