From 9b6ccb2469131ce567796e5017a1efa52f518061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Tue, 6 Oct 2020 02:18:51 +0200 Subject: [PATCH 1/3] =?UTF-8?q?=C3=A9n=20ynertem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mqtt_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mqtt_helper.py b/src/mqtt_helper.py index d3e6628..63ca792 100644 --- a/src/mqtt_helper.py +++ b/src/mqtt_helper.py @@ -19,7 +19,7 @@ class MQTT: """ def __init__(self, host=config.MQTT_HOSTNAME, port=config.MQTT_PORT, client_id=config.CLIENT_ID, qos=2, - retain=True, username=config.MQTT_USERNAME, password=config.MQTT_PASSWORD): + retain=False, username=config.MQTT_USERNAME, password=config.MQTT_PASSWORD): """ Init variables :param host: From b4200a0b6b975e409c36823983db49df95b00ee4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Mon, 19 Oct 2020 22:27:32 +0200 Subject: [PATCH 2/3] add sentry tracing --- src/app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index cddc29b..cc7a197 100644 --- a/src/app.py +++ b/src/app.py @@ -30,8 +30,11 @@ if config.SENTRY_DSN: dsn=config.SENTRY_DSN, send_default_pii=True, integrations=[sentry_logging], + traces_sample_rate=1.0, + send_default_pii=True, release=config.RELEASE_ID, - environment=config.RELEASEMODE + environment=config.RELEASEMODE, + _experiments={"auto_enabling_integrations": True} ) From 87b6f7b9868ac7a7ebbba181c66801da59d9c9d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Mon, 19 Oct 2020 22:51:50 +0200 Subject: [PATCH 3/3] duplicate keywork --- src/app.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app.py b/src/app.py index cc7a197..cdb61a0 100644 --- a/src/app.py +++ b/src/app.py @@ -31,7 +31,6 @@ if config.SENTRY_DSN: send_default_pii=True, integrations=[sentry_logging], traces_sample_rate=1.0, - send_default_pii=True, release=config.RELEASE_ID, environment=config.RELEASEMODE, _experiments={"auto_enabling_integrations": True}