Updated documentation

This commit is contained in:
2020-05-14 22:26:14 +02:00
parent f01001d331
commit 16bdd3c22c
3 changed files with 22 additions and 18 deletions

4
app.py
View File

@@ -50,9 +50,9 @@ def main():
logging.basicConfig(filename='', level=logging.DEBUG)
redis_storage = RedisSuperStorage(os.environ.get('REDIS_URL', "redis://localhost:6379/0"),
os.environ.get("CUSTOMER_TIMEOUT", 30))
int(os.environ.get("CUSTOMER_TIMEOUT", 30)))
consumer_communicator = ConsumerCommunicator(redis_storage)
consumer_communicator = ConsumerCommunicator(redis_storage, bool(os.environ.get('FORCE_IP_OVERRIDE', False)))
producer_communicator = ProducerCommunicator(redis_storage)
ip_watchdog = IPWatchdog(redis_storage)