Compare commits

..

3 commits

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

🤖
2024-11-21 22:58:06 +01:00
7f034b2c4e 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 22:58:06 +01:00
f83cf5bcc9 refactor: merge SendMessage() into SendPermanentBroadCastMessage() 2024-11-21 22:58:06 +01:00

Diff content is not available