Don't spawn a goroutine · Issue #24 · open-lambda/open-lambda · GitHub
Skip to content

Don't spawn a goroutine #24

Description

@edoakes

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.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions