I'm working on a service that write some log info to spanner when it's done 
responding to a request. 
However, the service uses the context's deadline to write to spanner, so if 
the deadline expires due to some long running RPC, the write to spanner 
fails (because the deadline expired), and we don't get any log info.

What's the best practice for dealing with this situation?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to