Refactor the message distribution process

To solve a major problem: when there are many devices connected,
the broker will blocked in processing messages.

By the way, I've rewritten and reorganized the entire code architecture,
improved performance.

Some new features has been added:
* support device grouping.
* support show device's IP address.

Change-Id: I250e18091be7fd42028c82767b6edef50b3f6d8f
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
Jianhui Zhao
2025-07-04 11:54:19 +08:00
parent ff6cbda736
commit a0bfc21d11
28 changed files with 1762 additions and 1421 deletions

25
.github/workflows/release.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: release
on:
push:
tags:
- 'v*'
jobs:
docker:
runs-on: ubuntu-24.04
steps:
- id: get-version
uses: battila7/get-version-action@v2
- uses: docker/login-action@v3
with:
username: zhaojh329
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: docker/build-push-action@v6
with:
push: true
tags: |
zhaojh329/rttys:${{ steps.get-version.outputs.version-without-v }}
zhaojh329/rttys:latest