fstream/modules/settings.py

17 lines
599 B
Python
Raw Normal View History

2022-05-29 12:31:07 +00:00
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