This commit is contained in:
4
app.py
4
app.py
@@ -30,7 +30,9 @@ def main():
|
||||
# set logging preferences
|
||||
logging.basicConfig(filename='', level=logging.DEBUG)
|
||||
|
||||
redis_storage = RedisSuperStorage(os.environ.get('REDIS_URL', "redis://localhost:6379/0"), 5)
|
||||
redis_storage = RedisSuperStorage(os.environ.get('REDIS_URL', "redis://localhost:6379/0"),
|
||||
os.environ.get("CUSTOMER_TIMEOUT", 30))
|
||||
|
||||
consumer_communicator = ConsumerCommunicator(redis_storage)
|
||||
producer_communicator = ProducerCommunicator(redis_storage)
|
||||
ip_watchdog = IPWatchdog(redis_storage)
|
||||
|
||||
Reference in New Issue
Block a user