Re: [go-nuts] Re: Extending deadline for logging

2018-08-15 Thread 'Robert Bartoszynski' via golang-nuts
Thanks. Perhaps an alternative would be for me to create a child context with a deadline of (context - x seconds) and pass that to OtherService, with the expectation that there should be x seconds left over for the write to spanner. On Wed, Aug 15, 2018 at 8:10 PM Dave Cheney wrote: > > > On Thu

Re: [go-nuts] Re: Extending deadline for logging

2018-08-17 Thread 'Robert Bartoszynski' via golang-nuts
Not sure what would happen if I set the context to context.Background(), but I'd have to understand the implications of it really well before I did something against the grain like that (using context.Background() for request-specific code). Yeah, perhaps we'll go with the solution of reserving ti