open-lambda icon indicating copy to clipboard operation
open-lambda copied to clipboard

Don't spawn a goroutine

Open edoakes opened this issue 8 years ago • 0 comments

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.

edoakes avatar Nov 17 '17 00:11 edoakes