Compare commits

..

3 commits

Author SHA1 Message Date
16beea02ca feat: introduce const for broadcast interval
- change ticker to use BROADCAST_INTERVAL constant
- define BROADCAST_INTERVAL as 1 second

🤖
2024-11-21 21:50:25 +01:00
f13bdff03f feat: improve broadcast loop ticker
- rename tick to ticker for clarity
- change infinite loop to range over ticker channel
- add defer statement to stop the ticker properly
- remove unnecessary channel receive operation

🤖
2024-11-21 21:50:25 +01:00
af5b578cb3 refactor: drop SendMessage() and merge into SendPermanentBroadCastMessage() 2024-11-21 21:50:25 +01:00

Diff content is not available