feat: Improve Mycelium client and streamer

- Changed Mycelium worker port to avoid conflict with master.
- Added debug print statements to Mycelium client for better troubleshooting.
- Removed unnecessary `SyncData` struct, simplifying data handling.
- Updated data encoding/decoding to directly use base64 for efficiency.
- Clarified message topic names for better understanding.
This commit is contained in:
Mahmoud Emad
2025-03-03 12:50:59 +02:00
parent 368edcd93a
commit d852ecc5b1
2 changed files with 12 additions and 29 deletions

View File

@@ -6,7 +6,7 @@ import freeflowuniverse.herolib.data.ourdb
mut streamer := ourdb.get_streamer(id: 'frBvtZQeqf') or {
ourdb.new_streamer(
incremental_mode: false
server_port: 9001 // Use different port than master
server_port: 9000 // Use different port than master
is_worker: true
)!
}