fstream/modules/settings.py

17 lines
599 B
Python

global servers
servers = [
# Host Port SSL Certificate
("127.0.0.1", 61920, False),
# ("127.0.0.1", 443, "localhost.pem")
]
global timeout
timeout = 15 # Seconds until the connection should be timed out
global maxConnections
maxConnections = 5 # Maximum connections per IP, needs connlimit.py to be activated
global enableOutThread
enableOutThread = False # Use a seperate thread for data output?
global printExceptions
printExceptions = False # Print exceptions as they happen, enable if you're developing
global clientDebug
clientDebug = False # Print how many clients and threads there are