coding tweaks in preparation for crafting "delete conference" code

This commit is contained in:
2026-02-19 23:24:49 -07:00
parent 831c6c5524
commit d2e6396ca7
8 changed files with 48 additions and 13 deletions
+2 -2
View File
@@ -220,12 +220,12 @@ func SetupMailSender() func() {
emailRenderer.AddGlobal("GlobalConfig", config.GlobalConfig)
// Start the recycler.
messageRecycleBin = make(chan *amMessage, 16)
messageRecycleBin = make(chan *amMessage, config.GlobalConfig.Tuning.Queues.EmailRecycle)
doneChan1 := make(chan bool)
go recycleMessages(messageRecycleBin, doneChan1)
// Start the sender loop.
sendChan = make(chan *amMessage, 16)
sendChan = make(chan *amMessage, config.GlobalConfig.Tuning.Queues.EmailSend)
doneChan2 := make(chan bool)
go senderLoop(sendChan, doneChan2)