AydarZaynutdinov commented on a change in pull request #15804:
URL: https://github.com/apache/beam/pull/15804#discussion_r746538754
##########
File path: playground/backend/cmd/server/controller.go
##########
@@ -66,7 +66,7 @@ func (controller *playgroundController) RunCode(ctx
context.Context, info *pb.Ru
return nil, errors.InternalError("Run code()", "Error during
set expiration to cache: "+err.Error())
}
- go processCode(ctx, controller.cacheService, lc, compileBuilder,
pipelineId, controller.env, info.Sdk)
+ go processCode(context.TODO(), controller.cacheService, lc,
compileBuilder, pipelineId, controller.env, info.Sdk)
Review comment:
Yes, it will be changed later. Most likely `context.Background()` will
be used instead of it.
I added a TODO string + JIRA ticket for this one.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]