From 5928a0a1d6cd67ba155da7ac70ff2801ea21fbe0 Mon Sep 17 00:00:00 2001 From: Noah Date: Sun, 10 Mar 2024 22:52:07 -0500 Subject: [PATCH] Increase wait between message queue scans (fix #12) --- matrix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix.go b/matrix.go index 5b71911..6664ae5 100644 --- a/matrix.go +++ b/matrix.go @@ -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))