open-lambda
open-lambda copied to clipboard
Don't spawn a goroutine
In the multiple places that we used a named pipe for "ready" signals, we are spawning a goroutine to listen on it as the worker goroutine waits. We should just do the listen in the worker thread instead. Additionally, this code should be reused from a common place rather than being copy-pasted to the different locations.