Open hmans opened 9 years ago
As is: Background.go spawns a thread on every invocation.
Background.go
To be: Set up a thread pool and make Background.go move the provided worker code into a queue.
As is:
Background.go
spawns a thread on every invocation.To be: Set up a thread pool and make
Background.go
move the provided worker code into a queue.