Search backend: move concurrency handling to caller of LogBackendEvent
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: camdencheek
Previously, LogBackendEvent
spun up its own goroutine, and used the passed-in wait group to handle cleaning it up. It's generally preferable to leave the responsibility of spinning up goroutines to the caller, and this is complicating some refactors I've got queued, so this modifies it to be a synchronous function that can instead be backgrounded by the caller.
Unit tests and manual smoke tests.
Push commits to the source branch or add previously merged commits to review them.