Sets a more realistic valut for max_appointments and add default_slots in config

This commit is contained in:
Sergi Delgado Segura
2020-03-27 14:46:31 +01:00
parent 4c21326974
commit 3946599f91
2 changed files with 4 additions and 2 deletions

View File

@@ -17,7 +17,8 @@ DEFAULT_CONF = {
"FEED_PROTOCOL": {"value": "tcp", "type": str}, "FEED_PROTOCOL": {"value": "tcp", "type": str},
"FEED_CONNECT": {"value": "127.0.0.1", "type": str}, "FEED_CONNECT": {"value": "127.0.0.1", "type": str},
"FEED_PORT": {"value": 28332, "type": int}, "FEED_PORT": {"value": 28332, "type": int},
"MAX_APPOINTMENTS": {"value": 100, "type": int}, "MAX_APPOINTMENTS": {"value": 1000000, "type": int},
"DEFAULT_SLOTS": {"value": 100, "type": int},
"EXPIRY_DELTA": {"value": 6, "type": int}, "EXPIRY_DELTA": {"value": 6, "type": int},
"MIN_TO_SELF_DELAY": {"value": 20, "type": int}, "MIN_TO_SELF_DELAY": {"value": 20, "type": int},
"LOG_FILE": {"value": "teos.log", "type": str, "path": True}, "LOG_FILE": {"value": "teos.log", "type": str, "path": True},

View File

@@ -11,7 +11,8 @@ feed_connect = 127.0.0.1
feed_port = 28332 feed_port = 28332
[teos] [teos]
max_appointments = 100 subscription_slots = 100
max_appointments = 1000000
expiry_delta = 6 expiry_delta = 6
min_to_self_delay = 20 min_to_self_delay = 20