Skip to content

Commit 7ab3eb5

Browse files
committed
Add REMBUS_START_ANYWAY env
1 parent b130cf9 commit 7ab3eb5

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6-
## [0.8.3]
6+
## [0.8.3] 2026-03-10
77

88
### Changed
99

1010
- Default port 8338 (was the widely used port 8000)
1111

12+
- Add environment variable REMBUS_START_ANYWAY. If true start the
13+
component even if the broker/server is down.
14+
1215
## [0.8.2] 2026-03-04
1316

1417
### Added

src/rembus/settings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ def __init__(self, name: str):
4141
self.ws_ping_interval = cfg.get(
4242
"ws_ping_interval", def_ws_ping_interval
4343
)
44-
self.start_anyway = cfg.get("start_anyway", False)
44+
self.start_anyway = cfg.get(
45+
"start_anyway", os.environ.get("REMBUS_START_ANYWAY", False)
46+
)
4547

4648
# Max numbers of QOS1 and QOS2 Pub/Sub retrasmissions
4749
self.send_retries = cfg.get("send_retries", def_send_retries)

0 commit comments

Comments
 (0)