From 3946599f910a73dc85958037fe11b8b63ee2a471 Mon Sep 17 00:00:00 2001 From: Sergi Delgado Segura Date: Fri, 27 Mar 2020 14:46:31 +0100 Subject: [PATCH] Sets a more realistic valut for max_appointments and add default_slots in config --- teos/__init__.py | 3 ++- teos/template.conf | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/teos/__init__.py b/teos/__init__.py index 707c7ec..780e3cc 100644 --- a/teos/__init__.py +++ b/teos/__init__.py @@ -17,7 +17,8 @@ DEFAULT_CONF = { "FEED_PROTOCOL": {"value": "tcp", "type": str}, "FEED_CONNECT": {"value": "127.0.0.1", "type": str}, "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}, "MIN_TO_SELF_DELAY": {"value": 20, "type": int}, "LOG_FILE": {"value": "teos.log", "type": str, "path": True}, diff --git a/teos/template.conf b/teos/template.conf index 88e4df5..46c61e8 100644 --- a/teos/template.conf +++ b/teos/template.conf @@ -11,7 +11,8 @@ feed_connect = 127.0.0.1 feed_port = 28332 [teos] -max_appointments = 100 +subscription_slots = 100 +max_appointments = 1000000 expiry_delta = 6 min_to_self_delay = 20