mirror of
https://github.com/aljazceru/python-teos.git
synced 2026-01-31 20:24:21 +01:00
Sets a more realistic valut for max_appointments and add default_slots in config
This commit is contained in:
@@ -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},
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user