mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-04-21 06:03:50 +00:00
BOSWatch 3 Core Repo - Documentation at http://docs.boswatch.de
This commit refactors the internal state management to ensure true multi-instance capability. While previous commits shared state via class variables, this change encapsulates all buffers and flags within the individual instance. Key changes: - Migration of state: Moved `_tone_ric_packets`, `_last_tone_ric_time`, and processing flags from class variables to instance variables (`self`). - Thread Isolation: Shifted the cleanup logic to a per-instance `_cleanup_worker` thread, ensuring that timeouts are managed independently for each route/configuration. - Wildcard Safety: Isolated `_wildcards_registered` to prevent registration conflicts between multiple multicast instances. - Robust Hard-Timeout: Simplified `_cleanup_hard_timeout` to act strictly on the instance's own state. This refactoring resolves the "architectural dinosaur" of shared class state, making the module fully thread-safe and reliable for complex multi-route and multi-frequency deployments. |
||
|---|---|---|
| .github | ||
| boswatch | ||
| config | ||
| docu | ||
| logo | ||
| module | ||
| plugin | ||
| test | ||
| .gitignore | ||
| build_docu.sh | ||
| bw_client.py | ||
| bw_server.py | ||
| Dockerfile | ||
| FileHead.template.py | ||
| init_db.sql | ||
| install.sh | ||
| install_service.py | ||
| LICENSE | ||
| pytest.sh | ||
| README.md | ||
| requirements.txt | ||
BOSWatch
Es wird darauf hingewiesen, dass für die Teilnahme am BOS-Funk nur nach den Technischen Richtlinien der BOS zugelassene Funkanlagen verwendet werden dürfen. Der BOS-Funk ist ein nichtöffentlicher mobiler Landfunk. Privatpersonen gehören nicht zum Kreis der berechtigten Funkteilnehmer. (Quelle: TR-BOS)
Documentation: https://docs.boswatch.de
Wenn dir dieses Projekt gefällt, gib uns bitte einen STAR
The intercept of the German BOS radio is strictly prohibited and will be prosecuted. The use is only permitted for authorized personnel.
If you like this project, please give us a STAR
