concurrent icon indicating copy to clipboard operation
concurrent copied to clipboard

Get rid of `context.TODO()`

Open JRBANCEL opened this issue 4 years ago • 0 comments

Our code analysis is flagging the use of context.TODO() in NewUnboundedExecutor.

What is the intent here? To pass a context to the constructor or if not, should context.TODO() be replaced by context.Background()?

JRBANCEL avatar Jan 14 '21 18:01 JRBANCEL