Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSeparatingContextDatastoreProxy ¶ added in v1.25.0
NewSeparatingContextDatastoreProxy severs any timeouts in the context being passed to the datastore and only retains tracing metadata.
This is useful for datastores that do not want to close connections when a cancel or deadline occurs.
func SeparateContextWithTracing ¶
SeparateContextWithTracing is a utility method which allows for severing the context between grpc and the datastore to prevent context cancellation from killing database connections that should otherwise go back to the connection pool.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.