Increase wait between message queue scans (fix #12)

This commit is contained in:
Noah 2024-03-10 22:52:07 -05:00
parent 714380477e
commit 5928a0a1d6

View File

@ -123,7 +123,7 @@ func initMatrix() {
})
go func () {
for range time.Tick(time.Second * 3) {
for range time.Tick(time.Second * 6) {
log.Printf("Scanning for queued messages...")
for _, msg := range MatrixOut {
_, err := client.SendMessageEvent(context.Background(), id.RoomID(configuration.matrix.room_id), event.EventMessage, format.RenderMarkdown(msg.text, true, false))