consolidated UI setup into a single function call from main

This commit is contained in:
2026-02-20 15:52:36 -07:00
parent 8a1c770079
commit 7ae9326292
6 changed files with 38 additions and 13 deletions
+2 -2
View File
@@ -620,8 +620,8 @@ func contextRecycler(incoming chan *amContext, done chan bool) {
done <- true
}
// SetupAmContext starts the recycler for contexts.
func SetupAmContext() func() {
// setupContext starts the recycler for contexts.
func setupContext() func() {
amContextRecycleBin = make(chan *amContext, config.GlobalConfig.Tuning.Queues.ContextRecycle)
done := make(chan bool)
go contextRecycler(amContextRecycleBin, done)