Skip to content

Commit 1b90e88

Browse files
committed
Change publish to fire-and-forget by default
1 parent 9984b91 commit 1b90e88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

inelsmqtt/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def __on_connect(
329329
)
330330

331331
def publish(
332-
self, topic: str, payload: Any, qos: int = 0, retain: bool = True, properties: Optional[Properties] = None
332+
self, topic: str, payload: Any, qos: int = 0, retain: bool = False, properties: Optional[Properties] = None
333333
) -> bool:
334334
"""
335335
Publish a message to a specified MQTT topic.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name="elkoep-mqtt",
7-
version="0.2.33.beta.30",
7+
version="0.2.33.beta.31",
88
url="https://github.com/epdevlab/elkoep-mqtt",
99
license="MIT",
1010
author="Elko EP s.r.o.",

0 commit comments

Comments
 (0)