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 -1
View File
@@ -14,6 +14,7 @@ import (
"fmt"
"time"
"git.erbosoft.com/amy/amsterdam/config"
log "github.com/sirupsen/logrus"
)
@@ -150,7 +151,7 @@ func AmStoreAudit(rec *AuditRecord) {
// setupAuditWriter sets up the background audit writer.
func setupAuditWriter() func() {
auditWriteQueue = make(chan *AuditRecord, 16)
auditWriteQueue = make(chan *AuditRecord, config.GlobalConfig.Tuning.Queues.AuditWrites)
doneChan := make(chan bool)
go auditWriter(auditWriteQueue, doneChan)
return func() {