Increase wait between message queue scans (fix #12)
This commit is contained in:
parent
714380477e
commit
5928a0a1d6
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user