Merge branch 'master' of ssh://cloud.tormakristof.eu:2222/birbnetes/guard-service into master
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-10-20 01:13:08 +02:00
commit a97d081bff
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
2 changed files with 4 additions and 2 deletions

View File

@ -30,8 +30,10 @@ if config.SENTRY_DSN:
dsn=config.SENTRY_DSN,
send_default_pii=True,
integrations=[sentry_logging],
traces_sample_rate=1.0,
release=config.RELEASE_ID,
environment=config.RELEASEMODE
environment=config.RELEASEMODE,
_experiments={"auto_enabling_integrations": True}
)

View File

@ -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: